Using MySQL on ArchLinux

Mon 27 July 2009
  • 手艺
  • 装备 tags:
  • ArchLinux
  • linux
  • mysql published: true comments: true

  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 -