About me
Services
Projects
Design Patterns
Archive
Contact
home > web help > mysql

Installing MySQL on Redhat Linux 7.3

Installation of MySQL on a Redhat Linux machine. The installation guide from the MySQL site is a good place to start. Go to MySQL and download a recent version of their rpms and follow the instructions in the Install Guide.

I chose to install MySQL-Max which has the InnoDB files configured right into it. InnoDB provides transaction support for MySQL. The trick here is that you have to install the regular MySQL server prior to installing the MySQL-Max rpm. And, installing the client at the same time as the server is a good idea. So my command line prompt looked like this.

[root@grahamlange mysql]# rpm -ivh MySQL-3.23.52-1.i386.rpm MySQL-client-3.23.52-1.i386.rpm

[root@grahamlange mysql]# rpm -ivh MySQL-Max-3.23.52-1.i386.rpm

It is important that you install the rpms in this order so that the new mysqld-max demon gets started properly.

Once mysql has been restarted, type mysql at the command line to get into the database.

Once you have tightened down the security, add a few more users as outlined in the MySQL tutorial for adding new users. I set up global access on localhost only, anyone coming in from the outside should have limited access. Me included, since I will be doing all testing and development on the machine.

GOOD LUCK!



Copyright 2008 Graham Lange All rights reserved
SUBSCRIBE