Cacti (home)ForumsDocumentation

Differences

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

manual:087:1_installation.1_install_unix.3_configure_mysql [2011/06/13 10:48]
gandalf
manual:087:1_installation.1_install_unix.3_configure_mysql [2011/06/13 11:10] (current)
gandalf
Line 1: Line 1:
 ==== Configure MySQL ==== ==== Configure MySQL ====
  
-System start procedures are under heavy development these days. We have SysV init scripts, upstart and systemd. Here's how to start //mysqld// as a service. Make surethat //mysqld// is listed as a service by issuing +Please make sure that the //mysqld// database service is started as given by [[1_installation.1_install_unix.5a_start_system_services|Start System Services for Cacti]].
-<code> +
-chkconfig --list|grep mysqld +
-</code> +
-Activate //mysqld// by +
-<code> +
-chkconfig mysqld on +
-</code> +
-to find sth like +
-<code> +
-chkconfig --list|grep mysqld +
-mysqld          0:Off 1:Off 2:On 3:On 4:On 5:On 6:Off +
-</code> +
-Now start the service via +
-<code> +
-service mysqld start +
-</code> +
-Verify via  +
-<code> +
-service mysqld status +
-</code>+
  
  
-Set a password for the MySQL root user <code>+By default, the mysql root password is not set. For security reasons, it is required to set a password for the MySQL root user <code>
   shell> mysqladmin --user=root password somepassword   shell> mysqladmin --user=root password somepassword
   shell> mysqladmin --user=root --password reload</code>   shell> mysqladmin --user=root --password reload</code>
 Consult MySQL Documentation for details. Consult MySQL Documentation for details.
  





Personal Tools