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

免安装的mysql使用命令_MySQL

WBOY
Release: 2016-06-01 13:32:19
Original
1282 people have browsed it

bitsCN.com


免安装的mysql使用命令

 

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

 

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

 

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

 

要改密码的语句为

 

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

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

mysql -hlocalhost -uroot -pnewPassword;
Copy after login

 

 

即可.

bitsCN.com
Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template