Skip to topic | Skip to bottom
Home
Socialtools
login



Socialtools.StandardMySQLr1.1 - 09 Nov 2003 - 16:19 - TWikiGuesttopic end

Start of topic | Skip to actions

MySQL database

sudo apt-get install mysql-common mysql-server mysql-client libmysqlclient10 libmysqlclient10-dev mysql-doc

Accept configuration defaults, except say Yes to starting MySQL when the system boots up.

Move databases into /var/db:

sudo /etc/init.d/mysql stop
sudo mkdir -p /var/db
sudo mv /var/lib/mysql /var/db/mysql
sudo ln -s /var/db/mysql /var/lib/mysql

In /etc/mysql/my.cnf, comment out skip-networking. Restart mysql:

sudo /etc/init.d/mysql start

Set the root password:

mysqladmin -u root password 'pick_a_good_password'
sudo /etc/init.d/mysql restart

to top

Socialtools.StandardMySQL moved from Socialtools.RabelaisMySQL on 28 Apr 2003 - 22:43 by BenjaminGeer - put it back
You are here: Socialtools > ServerConfigStandard > StandardMySQL

to top

Copyright © 1999-2012 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Open-org? Send feedback