Using MySQL on ArchLinux

  1. su -
  2. pacman -S mysql mysql-gui-tools
  3. run mysql_install_db –user=mysql in /var/lib/mysql
  4. vim /etc/my.cnf, disable skip_networking to allow tcp/ip connection
  5. vim /etc/hosts.allow, add mysql:all:allow
  6. /etc/rc.d/mysql start
  7. mysqladmin -u root password #NEW_PASSWORD# to set root password
  1. su -

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>