Difference between revisions of "MySQL database server, installing"

From NAS-Central Buffalo - The Linkstation Wiki
Jump to: navigation, search
(port from linkstationwiki.org)
 
Line 12: Line 12:
  
 
4. Configure MySQL through Webmin (see [[Articles/DebianWebmin]]).
 
4. Configure MySQL through Webmin (see [[Articles/DebianWebmin]]).
 +
 +
[[Category:Debian]]

Revision as of 23:05, 25 June 2006

1. First let's install MySQL. Use the command:

apt-get install mysql-server

2. If you wish to use MySQL with PHP or Apache (most people do), then you should install these packages too:

apt-get install php4-mysql libapache-mod-auth-mysql  

3. Copy over the base small sever configuration (for systems with <= 64MB of RAM):

cp /usr/share/doc/mysql-server/examples/my-small.cnf /etc/mysql/my.cnf  

4. Configure MySQL through Webmin (see Articles/DebianWebmin).