How to solve the problem of forgetting the root password in Mysql and forgetting the root password in mysqlMethod 1:MySQL provides command line parameters for skipping access control and starts the MySQL server by running the following
MySql login password forgot and forgot password solution, mysql Login Password
Method 1:
MySQL provides command line parameters for skipping access control and starts the MySQL server by running the following command:
safe_mysqld --skip-grant-tables&
1. download MySql
1. download MySql
Open http://www.mysql.com/downloads/mysql/#downloads download in browser
My downloaded version is Red Hat 5 version of http://www.mysql.com/downloads/mirror.php? Id = 407552
Upload the file to the server, or
Website:Program on:Web server 192.168.1.100 abovedatabase in: MySQL server 192.168.1.123 aboveImplementation Purpose: add a MySQL backup server (192.168.1.124), as a MySQL server (192.168.1.123) from the server, the two MySQL servers to achieve dual-
MySQL常用指令,java,php程序员,数据库工程师必备。程序员小冰常用资料整理MySQL common commands (for reference)The most common display commands are:1. Display the list of databases.show databases;2. Display the data table in the library:Use MySQL;Show tables;3, display the
Mysql console operation command
1. connect to the mysql database
1. open cmd to enter the dos window.
2. switch to the directory: D:/MySql5.0/mysql-5.0.51b-win32/bin (I .e., the bin directory under the mysql installation directory, which contains a
Modify the MySql database root password and mysqlroot Password
Method 1:Add the following to the [mysqld] field of my. ini:Skip-grant-tablesRestart the mysql service. mysql can log on to the database without a password.Then go to mysqlMysql> use
b.5.3.2 How to Reset the Root PasswordIf you had never assigned a root password for MySQL, the server does not require a password at all for connecting as
. However, this is insecure. For instructions in assigning passwords, see section 2.18.4, "
Mysql console operation bitsCN.com
1. connect to the mysql database
1. open cmd to enter the dos window.
2. switch to the directory: D:/MySql5.0/mysql-5.0.51b-win32/bin (I .e., the bin directory under the mysql installation directory, which
Method 1: MySQL provides the command line parameter for skipping access control. you can run the following command on the command line to start the MySQL server: safe_mysqld -- skip-grant-tables to skip MySQL access control, anyone can log on to the
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.