现在的位置: 首页 > 综合 > 正文

mysql 学习笔记一 (mysql 登陆)

2013年11月12日 ⁄ 综合 ⁄ 共 395字 ⁄ 字号 评论关闭

首先 运行——》DOS下;

然后开始输入登录命令:

1.mysql -u 用户名 -p

 eg:mysql -u root -p

 

2.回车之后会输出:Enter password:输入密码

eg:Enter password:123

 

路径将变为:mysql>,说明你已登录成功。

 

我的登录情况:

C:/Documents and Settings/FENGJIAN>mysql -u root -p
Enter password: ***
Welcome to the MySQL monitor.  Commands end with ; or /g.
Your MySQL connection id is 16
Server version: 5.1.37-community MySQL Community Server (GPL)

Type 'help;' or '/h' for help. Type '/c' to clear the current input statement.

mysql>

抱歉!评论已关闭.