MySQL root password

Problems with the Linux version of XAMPP, questions, comments, and anything related.

MySQL root password

Postby carlosustariz » 07. August 2007 08:42

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
carlosustariz
 
Posts: 2
Joined: 07. August 2007 08:21

Postby Wiedmann » 07. August 2007 10:20

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?
Wiedmann
AF Moderator
 
Posts: 17102
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

the same problem

Postby carlosustariz » 08. August 2007 02:01

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.
carlosustariz
 
Posts: 2
Joined: 07. August 2007 08:21


Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 29 guests