ITPub博客

首页 > 数据库 > MySQL > mysql的连接

mysql的连接

原创 MySQL 作者:1058320115 时间:2014-11-16 19:53:20 0 删除 编辑
连接mysql
communication protocols

protocols types of connections supported oprating system
TCP/IP     local     remote all
unix socket file local  only unix only
Named pipe
local  only windows only
shared memory local only windows only

TCP/IP connections are supported by any MYSQL server unless the server is started with the --skip-networking option
unix socket file connections are supported by all unix servers
named-pipe connections are supported only on windows if you use one of the servers that has -nt in its name (mysql -nt,mysql -max-nt) However,named pipes are disabled by default.To enable named-pipe connections,you must start the -nt server with the --enable-named-pipe option
shared memory connections are supported by all windows servers .but are disabled by default.To enable shared-memory
 connections.you must start the server with the --shared-memory option

常用客户端工具:
  • mysql: is a general purpose command-line client for sending sql statements to the server.including those of on administrative nature
  • mysqladmin:is a administrative command-line client that helps you manage the server
  • mysqlimport:provides a command-line interface to the LOAD DATA INFILE statement it is used to load data files into tables without having to issue LOAD DATA INFILE statements yourself.
  • mysqldump:is a command-line client for dumping the contents of database and tables it is useful for making backups or for copying databases to other machines

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/28687558/viewspace-1335204/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2014-04-16

  • 博文量
    45
  • 访问量
    36075