Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 06-28-2005, 04:10 PM   #1
D4ve G
Registered: Jun 2005
Location: Canada
Distribution: XP / Ubuntu
Posts: 55

Rep: Reputation: 15
mySQL not working?

i have apache and php up fine but my mySQL does not seem to be there. I have SUSE 9.3 and all of these have came with it.

when i type mysql I get:

warning: World-writeable config file /etc/my.cnf is ignored
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
Old 06-28-2005, 04:16 PM   #2
LQ Guru
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 250Reputation: 250Reputation: 250
Have you even tried to start mysql? It has to be running before you type mysql to connect to it. And by default, when you install a distro with mysql, it doesn't usually start on first bootup as you'll need to create the default initial db.
Old 06-28-2005, 04:40 PM   #3
D4ve G
Registered: Jun 2005
Location: Canada
Distribution: XP / Ubuntu
Posts: 55

Original Poster
Rep: Reputation: 15
how would i create the initial db :S


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
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
MySQL not working jjdoll42 Linux - Software 1 07-19-2005 02:52 AM
php not working with MySQL pjocus Fedora - Installation 5 07-08-2005 11:42 AM
Mysql not working but it did last week dsiguy Linux - General 2 05-27-2003 01:59 PM
MySQL not working for me blither Slackware 5 12-14-2002 06:21 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:47 PM.

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