- 手艺
- 装备 tags:
- ArchLinux
- linux
- mysql published: true comments: true
- su -
- pacman -S mysql mysql-gui-tools
- run mysql_install_db --user=mysql in /var/lib/mysql
- vim /etc/my.cnf, disable skip_networking to allow tcp/ip connection
- vim /etc/hosts.allow, add mysql:all:allow
- /etc/rc.d/mysql start
- mysqladmin -u root password #NEW_PASSWORD# to set root password
- su -