Home  >  Article  >  Database  >  免安装的mysql使用命令_MySQL

免安装的mysql使用命令_MySQL

WBOY
WBOYOriginal
2016-06-01 13:32:191216browse

bitsCN.com


免安装的mysql使用命令

 

对于免安装的mysql使用方法:

 

1、执行mysqld-nt.exe 来启动mysql服务。

 

2、对于初始的数据库,默认的用户名是root,密码为空。

 

要改密码的语句为

 

mysqlAdmin -uroot password newPassword
(自己修改的新密码)

 

3、以后使用的时候,进入到bin目录下用

 

mysql -hlocalhost -uroot -pnewPassword;

 

 

即可.

bitsCN.com
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