[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] Can't connect to mysql through phpmyadmin (mysql.sock problem)



To see if mysql is running type:
ps -ef | grep mysql

If mysql isn't that is IMHO why you don't have .sock file :) (correct me if I'm wrong)

to start mysql:
/etc/rc.d/init.d/mysqld start

to stop mysql:
/etc/rc.d/init.d/mysqld stop

to view of it is running:
/etc/rc.d/init.d/mysqld status

Good luck,

Oblix

At 12:37 26-1-01 -0500, you wrote:
>I solved this problem by doing a
>--- snip ---
>
>cd /tmp
>ln -s /var/lib/mysql/mysql.sock
>
>--- snip ---

Ok, This makes sense to me . but .........   Like I said, I'm new to the
Linux and RaQ world so I have a few questions.
- there is no file at /var/lib/mysql/mysql.sock
   - Yesterday the "locate" command said there was a file there but the
"find" command said there wasn't (I've since learned that the find
command was correct)
- how do I get the mysql.sock file back into this directory (reinstall
mysql ???)
- If I created the link as you said above.... would I then have to sop
and restart mysql?  What are the preferred way of starting / stopping
mysql ? How do I tell if mysql is running in the first place (id I type
"ps" what should I see that indicate mysql is running)

Sorry for all the questions. Hopefully answers to some of these
questions can get me on my way to better understanding the mysql setup
on this system (Raq4 by the way )





_______________________________________________
cobalt-users mailing list
cobalt-users@xxxxxxxxxxxxxxx
To Subscribe or Unsubscribe, please go to:
http://list.cobalt.com/mailman/listinfo/cobalt-users