码迷,mamicode.com
首页 > 数据库 > 详细

mysql 常用option

时间:2016-01-29 12:18:38      阅读:201      评论:0      收藏:0      [点我收藏+]

标签:

mysql 常用option

  --host=host_name-h host_name

  Connect to the MySQL server on the given host.

 

  --port=port_num-P port_num(注意 P 是大写)

  The TCP/IP port number to use for the connection.

 

  --password[=password]-p[password]

  The password to use when connecting to the server. If you use the short option form (-p), you cannot have a space between the option and the password. If you omit the password value following the --password or -p option on the command line, mysql prompts for one.

参考:http://dev.mysql.com/doc/refman/5.7/en/mysql-command-options.html#option_mysql_password

  

 

  

mysql 常用option

标签:

原文地址:http://www.cnblogs.com/tekkaman/p/5168383.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!