LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   mySQL not working? (https://www.linuxquestions.org/questions/linux-newbie-8/mysql-not-working-338128/)

D4ve G 06-28-2005 04:10 PM

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:

Quote:

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)

trickykid 06-28-2005 04:16 PM

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.

D4ve G 06-28-2005 04:40 PM

how would i create the initial db :S


All times are GMT -5. The time now is 12:22 PM.