Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
docs:mysql:install_and_setup [2007/08/09 15:14] – created billhdocs:mysql:install_and_setup [2008/08/03 00:25] (current) – external edit 127.0.0.1
Line 5: Line 5:
  
 ===== Initial Setup ===== ===== Initial Setup =====
-  * copy/create/modify a my.cnf script to /etc/my.cnf, from the share/mysql directory 
   * find and run the msyql_install_db script   * find and run the msyql_install_db script
   * change the owner of the MySQL databases and log files to be mysql<code>   * change the owner of the MySQL databases and log files to be mysql<code>
 sudo chown -R mysql:admin /sw/var/mysql sudo chown -R mysql:admin /sw/var/mysql
 +</code>
 +  * copy the default medium-scale parameter configuration file to the default location of /etc<code>
 +sudo cp /sw/share/mysql/my-medium.cnf /etc/my.cnf
 +</code>
 +  * edit /etc/my.cnf, under the [mysqld] section, to match the default value for the maximum Apache web server connections.<code>
 +set-variable = max_connections=150
 </code> </code>
   * start the MySQL daemon:<code>   * start the MySQL daemon:<code>
  • docs/mysql/install_and_setup.1186694041.txt.gz
  • Last modified: 2008/08/03 00:25
  • (external edit)