MySQL中修改密码及访问限制设置详解
http://www.phpe.net/articles/339.shtml

解决方案 »

  1.   

    我是以root身份进入的啊。可是好象没有效果
      

  2.   

    mysql -h 服务器 -u root -p
    默认的密码好像是空的;
      

  3.   

    下载一个图形界面--Mysql center control,你就明白了
      

  4.   

    你不要直接这么登陆:
    C:\>mysql这和版本没什么关系的
    我直接C:\>mysql 后也不能建库用root登录C:\mysql\bin>mysql -hlocalhost -uroot -p
    Enter password:********
    Welcome to the MySQL monitor.  Commands end with ; or \g.
    Your MySQL connection id is 2 to server version: 4.0.21-ntType 'help;' or '\h' for help. Type '\c' to clear the buffer.
    这样就可以mysql> create database mysqldemo;
    Query OK, 1 row affected (0.03 sec)
      

  5.   

    创建数据库只能是root 用户
      

  6.   

    使用root登陆吧,用phpmyadmin比较方便
      

  7.   

    //创建数据库只能是root 用户非也.
      

  8.   

    使用root登陆吧,用phpmyadmin比较方便。还有并不是只有root可以创建数据库的!
      

  9.   

    权限问题。C:\mysql\bin>mysql -hlocalhost -uroot -p
      

  10.   

    用 root 登陆,先查看所有数据库:
    mysql>show databases;