Page 1 of 1

MySQL root password

PostPosted: 07. August 2007 08:42
by carlosustariz
Hello everybody, my names is carlos, i'm from Venezuela, i've little time using operating system linux and i'm a new user using xampp, my problem is the follow:

i don't know what's my password root...where's my password root?
when i to try to put this command:

linux:/opt/lampp # /opt/lampp/bin/mysql -u root -p
Enter password:
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/opt/lampp/var/mysql/mysql.sock' (2)

when i to try to put this command:

linux:/opt/lampp # /opt/lampp/lampp backup
Can't access database. Is MySQL running? Added the MySQL root password to end of command line?

please help me.

what can i do?

thanks for help..

email: carlos.ustariz@gmail.com

PostPosted: 07. August 2007 10:20
by Wiedmann
i don't know what's my password root...where's my password root?

http://www.apachefriends.org/en/xampp-linux.html#381

ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/opt/lampp/var/mysql/mysql.sock' (2)

- Is your MySQL server started?
- Can you access MySQL with phpMyAdmin?

the same problem

PostPosted: 08. August 2007 02:01
by carlosustariz
I have put the following commando.

/opt/lampp/lampp start
Starting XAMPP for Linux 1.6.3b...
XAMPP: Starting Apache with SSL (and PHP5)...
XAMPP: Starting MySQL...
XAMPP: Starting ProFTPD...
XAMPP for Linux started.

i think that my mysql is runnig now. don't do?

ok, when i to try to access with phpmyadmin..

Error
#2002 - The server is not responding (or the local MySQL server's socket is not correctly configured)

what can i do?
help me please.