最近用上了Ubuntu,用普通用户进行操作,在Ubuntu中文网文档的帮助下,成功安装好MySQL,但是在安装好MySQL后,出现了问题,如下:
1、怎么样用"root"登录,开始的密码都不知是多少。
2、由于不知 root密码,我试试用mysql -u root -p,出现下到情况
coper@ubuntu:~$ mysql -u root -p
Enter password:
ERROR 1045: Access denied for user: 'root@localhost' (Using password: YES)
coper@ubuntu:~$
3、我直接用coper@ubuntu:~$ mysql
竟可进行登录:
coper@ubuntu:~$ mysql
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 6 to server version: 4.0.23_Debian-3ubuntu2.1-log
Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
mysql>
但是用show databases; 可没有任何数据库!
也不会安装Phpbb,怎么办??
请教:如何设定root密码和用"root"登录,
