Problems with the Linux version of XAMPP, questions, comments, and anything related.
by asheesh » 12. October 2007 08:28
hi
I installed xampp on linux. after starting lampp when i try to connect mysql following error shown what should i do? copy of text from terminal is shown bellow:
//there is no password for accessing mysql
[root@cc20911 /]# mysql -uroot -p
Enter password:
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib /mysql/mysql.sock' (2)
[root@cc20911 /]#
-
asheesh
-
- Posts: 8
- Joined: 29. August 2007 07:37
by Wiedmann » 12. October 2007 16:52
root@cc20911 /]# mysql -uroot -p
You must use the correct mysql command line client, which is in XAMPP:
- Code: Select all
# /opt/lampp/bin/mysql -uroot -p
-
Wiedmann
- AF Moderator
-
- Posts: 17102
- Joined: 01. February 2004 12:38
- Location: Stuttgart / Germany
Return to XAMPP for Linux
Who is online
Users browsing this forum: No registered users and 26 guests