软件的安装很简单,下载完后直接双击执行安装. 配置conf目录下的httpd.conf文件. #BindAddress *改为 BindAddress 127.0.0.1 #Servername new.host.name改为Servername localhost 出现类似的错误的原因可能就是没有指定servername. "cannot determine local host name,use servername to set it manually"
C:\mysql\bin>mysqladmin ping mysqld is alive C:\mysql\bin>mysqlshow +-----------+ | Databases | +-----------+ | mysql | | test | +-----------+
以上为正常情况! 输入mysql进行登陆!
C:\mysql\bin>mysql C:\mysql\bin>mysql -u root -p Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 8 to server version: 3.23.21-beta-debug Type 'help' for help. mysql> 记得在登陆之前运行mysqld,否则就会出现这样的错误提示:
Can't connect to MySQL server on 'localhost' 恩,你遇到过吗?反正我在开始运行mysql的时候,就是这样! 5.安装Phpmyadmin VER:(phpMyAdmin_2.1.0)