Web Hosting Talk







View Full Version : How do you know if mysql is installed


Haisoft
08-07-2001, 03:45 PM
I've got a raq 4 server, In the asp settings it shows alot of different data bases, I thaught that they were all installed, but now I'm not sure ...
I don't think mysql is running but I'm not sure if it is installed or not!
Could it harm the server if I install the mysql package on cobalt page if my sql is already installed, I've been in management, install software , mysql is not in the list but other things look like they might be group packages of some sort (security packages or something ...)

Could some one please help,

Richard

insequi
08-07-2001, 03:57 PM
In the sofware list there should be something like "Cobalt MySQL Release xx.x.x.x". If not, it's not installed.

Take a look in the uninstall-how-to http://pkg.nl.cobalt.com/howto/cobalt_uninstall_howto.html. You can find information here where to look for MySQL.

Reg
08-07-2001, 05:53 PM
Or you could try this:

Telnet to your box and switch to the root. Then type in:

mysql

If you get something like "file not found" or "command not found", then it isn't installed. If you get something like "missing parameters" or something other than "file not found" or "command not found", then mySQL is installed.

dabystru
08-08-2001, 05:57 AM
This may not work if mysql binary is not in the path.

You can search if you have any mysql files on your machine:

su
updatedb
locate mysql

(switch to su mode is neccessary to make sure updatedb works properly).

Befriend
08-10-2001, 05:54 PM
Originally posted by Haisoft
I don't think mysql is running but I'm not sure if it is installed or not!


Richard,

Denis, gave you a good solution to find any file with "mysql" in its name. I suggest checking for "mysqld" by doing "locate mysqld". By default the program to start the MySQL server is located in
/usr/local/libexec/mysqld.

Also, to check if MySQL is running do:

ps aux | grep mysql

"ps" gives a list of processes that are running, my command checks to see if MySQL is running. If it is, it will return a list of several processes.

HTH,

Forumz UK
08-12-2001, 08:17 AM
Just to mention MySQL is not installed by default on Raq4i servers, if you intend to run SQL then you will have to install the .PKG file.

I installed this yesterday on a Raq and had no problems whatsover as it intergrated perfectly.

Dont forget the set up MyPhpAdmin to manage yor databases with :).

Oh and also you may need to change the default password for the SQL server.

KMD

Haisoft
08-12-2001, 04:06 PM
Thanks to all, problem has now been solved: The driver was installed but not Mysql;

Richard