11- Project STAR in the fourth group discussion: resolve database error
Time: 2019-11-20
Location: Changchun University of North Lake Campus, 302 West Street
Topic: resolve database error
project progress:
A
open Navicat
pop 2003 - Can not connect to MySQL server on 'localhost' (10038)
reasons: mysql service is not open.
To open mysql service.
(Or 10061)
Er
the open mysql service, the pop-up can not start mysql service error 1067, the process has stopped unexpectedly
uninstall the original mysql, re-install.
After confirming all the way to restart navicat, the following tips:
three
MySql error 1045 Access denied for user 'root' @ 'localhost' (using password: YES) solutions under the windows (forgot password)
1, enter the Administrator Console to stop mysql services: NET STOP mysql;
2, enter the mysql installation path, such as my installation path is C: \ Program files \ MySQL \ MySQL Server 5.5, open my.ini file, locate the [mysqld], add the line below skip_grant_tables, that is notice mysql, skip the authentication password at the time of landing, after saving exit;
(usually this step on it)
3, restart the mysql service: NET Start mysql;
4, in the console input: mysql -u root - p password when the pop-up, only to enter the transport MySQL;
. 5, the root user password reset input: UPDATE user sET password = pASSWORD ( ' your new password') where uSER = '
6, quit mysql, enter: quit;
7, stop mysql service, the administrator console input: net stop mysql;
delete C: \ Program Files \ MySQL \ MySQL Server 5.5 \ skip_grant_tables my.ini file just added this line ;
after saving the restart mysql service, type: NET Start mysql;
8, log in with the new password.
Discuss the reasons for this topic:
Computer database as an important field of application software to help liberate users from complex data processing work out, quickly draw the corresponding conclusions of data analysis, the computer technology to play its due role. But in the process of using the software, users can often be found in the database design computer software can not meet their actual needs, so that the overall quality of the software affected. We often encounter some small mistakes and failures were the runtime, for which specially detailed description of the steps listed for the white like me run error in the data.