摘要:
1. 安装数据库 apt-get install mysql-server 刚安装完mysql,root密码是空的,按回车即可进入数据库 设置root密码: set password for root@localhost=password("123456"); Quit退出,再进入mysql做相关配置 CREATE DATABASE bugzilla; GRANT ALL ON bugzilla.* TO 'bugzilla'@'localhost' IDENTIFIED BY '123456'; flush privileg 阅读全文