Home  >  Article  >  Database  >  轻松掌握怎样测试MySQL安装_MySQL

轻松掌握怎样测试MySQL安装_MySQL

WBOY
WBOYOriginal
2016-06-01 13:55:561063browse

  问:握怎样测试 MySQL安装?

  答:可以通过以下命令测试MySQL服务器是否工作:

C:> C:Program FilesMySQLMySQL Server 5.1inmysqlshowC:> C:Program
FilesMySQLMySQL Server 5.1inmysqlshow -u root mysqlC:> C:Program
FilesMySQLMySQL Server 5.1inmysqladmin version status procC:> C:Program
FilesMySQLMySQL Server 5.1inmysql test

  如果mysqld对客户端程序TCP/IP连接的响应较慢,可能是DNS问题。此时,使用--skip-name-resolve选项启动mysqld,在MySQL授权表的Host列只使用localhost和IP号。

  可以通过--pipe或--protocol=PIPE选项强制MySQL客户端使用命名管道连接代替TCP/IP连接,或指定.(阶段)做为主机名。使用--socket选项指定管道名。

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn