软件的安装很简单,下载完后直接双击执行安装. 配置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' <10061> 恩,你遇到过吗?反正我在开始运行mysql的时候,就是这样! 5.安装phpmyadmin ver:(phpmyadmin_2.1.0)