next up previous contents
Next: Installing PHP Up: Get the Apache+PHP+MySQL subsystem Previous: Installing Apache web server   Contents

Installing MySQL database server

Locate your binary package for MySQL and install it (with all it dependencies). Example: in my case I have installed in Mandrake 9.0 MySQL-xxx.rpm, MySQL-client-xxx.rpm and some libraries and dependencies.

Test if MySQL is running: as root, type in the shell service mysql status. This should inform you whether apache is running ro not. If it's not running, you can start it with service mysql start. Note that after mysql installation it will be probably configured to start automatically when your computer boots up. If it's not, you should change it.

As a final test, type mysql at the prompt. This should bring you to an interactive prompt. You can exit with quit;

$ mysql Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 29 to server version: 3.23.52

Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

mysql> quit;



Jorge Nadal 2003-06-07