Click to See Complete Forum and Search --> : MySQL


DJKAOS
10-24-2001, 11:23 PM
How can I tell I have mysql installed?
I use Mandrake 8.1

when I type "mysql" from the command line I get thiss error...

can't connect to local MySQL server through /blab/aba/b some diretory...


I just want to create a simple database for a class and since I dont have Win crap 2000 I can't use SQL Server 2000.

MySQL.org seems to technical for me to figure out I need some idiot guide or something :)

mangeli
10-24-2001, 11:28 PM
type

ps ax | grep mysql

that will show you all instances of mysql.

If it comes up with more than one, then you are already connected.

DJKAOS
10-24-2001, 11:30 PM
It didn't come up with more than one.

What should I do? download and install MySQL??

mangeli
10-25-2001, 09:11 AM
Not necessairly.

Run

locate mysqld | more

It should show you the location of the safe_mysqld file. If it does, the cool. You just need to type /locationofsafemysqld/safe_mysqld & to run it.

If it doesn't then you need to download and install it. (It takes like an hour total with the dl time.

(If you do have to install it, I suggest downloading the source code and installing from that rather than installing the rpm. Also follow the NHF on installing mysql, php, fp and apache.)

Feel free to contact me if you need more help.

[ 25 October 2001: Message edited by: mangeli ]

SykkN
10-25-2001, 01:22 PM
# find / -name "*mysql*"

OR

# rpm -q -a | grep -i mysql