Skip to content

5. Using a MySQL database server

Odiobill edited this page Feb 10, 2013 · 2 revisions

If you have both the mysql-server and mysql-client packages installed in your distribution, then wcfg will automatically create a database dedicated to the new website, unless the NODB option is specified for it.

If you want to use an external or custom MySQL server, then you need just the mysql-client package, but you also have to edit the generic wcfg configuration file, /etc/default/wcfg, and provide the suitable connection string that you should use for connecting as the administrative user with the mysql or mysqldump commands.

Use the following format:

MYSQLCSTR="-u Username -pPassword -h ServerAddress"

Clone this wiki locally