LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 11-29-2004, 05:19 PM   #1
NoviceW
Member
 
Registered: Nov 2003
Distribution: Debian, SuSE,Ubuntu
Posts: 38

Rep: Reputation: 15
MySQL with suse 9.2


Hi

I have recently installed suse 9.2 (new installation) and tried to do the same. The Apache and PHP worked fine but MySQL still doesn't work. After I issued 'mysql_install_db --usr=mysql" it didn't create the required files under /ver/lib/mysql/ (eg. mysql.sock file is missing). So whenever I try 'mysql -u root' it says "ERROR 2002: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)". It was also not possible to start mysql using Run Level Editer.

I have also tried to add mysql under "create and edit user" but it says "error : there is a conflict between entered group name and an existing one". So I have no idea how to proceed.

If you ahve any solution to this please let me know.

Thank you in advance
novicew :?:

PS
by the way suse 9.2 doesn't have phpMySQLAdmin as a standard package.
 
Old 12-02-2004, 05:16 AM   #2
mad4linux
Member
 
Registered: Aug 2003
Distribution: Debian Testing / kubuntu
Posts: 88

Rep: Reputation: 21
I had too nothing but problems with the suse rpm for mysql. They changed the dirs, a find / -name mysql will might help to find the appropiate dirs. For me it was the best solution, to deinstall the rpm, get the mysql packages from mysql.org (you can find an explanation here http://dev.mysql.com/doc/mysql/en/index.html )
install them as explained, setting up the apache server and it works.

But check first by using yast, if your mysql-Sever is running (you find this in the runlevel manager, set it on running for runlevels 3 and 5)
check on command line as root with

ps -A

if mysql_server and mysql_client are running (names may differ a little bit from the mentioned)
you can scroll up on command line using shift + page up.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ERROR 2002: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql. NoviceW Linux - Networking 17 09-17-2014 02:13 PM
Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock welery Linux - Software 19 03-06-2014 07:19 AM
ERROR 2002: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql. suziecorbett Linux - Software 8 10-09-2008 01:52 AM
Problems with MySQL on SuSE: Can't Connect (/var/lib/mysql/mysql.sock) neocookie Linux - Software 8 02-07-2008 11:48 PM
mysql error Can't connect to local MySQL server through socket '/var/lib/mysql/mysql. Dannux Linux - Software 3 03-24-2006 08:44 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:09 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration