Mysql setup

Basic config

  • listen only to the localhost, edit /etc/my.cnf under the mysqld section
bind-address = 127.0.0.1

Set root password

  • Set the root password
 # mysqladmin -u root password NEWPASSWORD

Start mysql

 # service mysqld start
centos_5_virtual_hosting_mysql_setup.txt · Last modified: 2008/02/05 13:15 by topdog
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Noncommercial-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki