mysql is a relational database management system, but recently users have reported that it is impossible to access mysql under Linux system. I believe many users have encountered this problem. What is going on? What can I do if I can't access mysql under Linux? Let's take a look at the solution.
1, problems and abnormal
ThreadPoolAsynchronousRunner - com.mchange.v2.async.ThreadPoolAsynchronousRunner$DeadlockDetector@75d634ea - APPARENT DEADLOCK! ! ! Complete Status:
Managed Threads: 3
Active Threads: 3
Active Tasks:
2, Find Reasons
, determine the problem of MySQL permissions
3, the solution process
1 mysql -uroot -proot mydbName
2" grant all privileges on *.* to wangs@&lsquo ;%’ identified by ‘123456’;
3" flush privileges;
4" exit;
5" /etc/init.d/mysql restart< Br>
4, the description of the command
Enter mysql, the user is root, the password is root, the database is mydbName, -u means user, -p means password,
increase User wangs, all permissions, the database is *, the following .* is indispensable, % represents all remote IP addresses, if you want to limit the IP address, write the IP address separately,
The password is 123456, note Quotation marks & lsquo; are indispensable to indicate a string.
The above commands and procedures cannot be omitted.
The above is the solution to the mysql can not access mysql, the user can find the cause according to the abnormal situation of the problem when the same failure, and then solve the problem.
The hostname command in Linux is mainly used to display and set the host name of the system. If you
in Ubuntu In Ubuntu system operation, because of the need to develop Gis application, to install Ma
We know that most of the Linux system operations are implemented by commands. If you want to upload
The security of data is undoubtedly very important. Imagine what would happen if the data in a compu
How to upgrade Docker in Ubuntu system
How to remove the plus sign after the Linux Kernel version number?
Linux installation using the compression tool 7-zip steps
Steps for installing JDK8 on CentOS system
Detailed steps for mounting Windows shared files in Linux
Tips for using timed commands in Linux systems
How to use sudo command to increase permissions under Linux system
How Linux expands the number of file openers
How to install and configure CentOS 6.0 Kamailio
Parameters and function descriptions of the Linux system Xconfigurator command
How to modify the system date time
Automatic update of Windows XP system cannot use
Close the tutorial of window effects in win10 preview version 9860
What does Windows 7 bring to test and measure?
Win7 system boot screen shows 0xcoooo428 error how to do
How to close ports 135 and 456 in win7 Ultimate?
Win10 update TH2 version failed error 0xc1900101-0x30018 solution
How to quickly open a local connection to Win7 to view the network status
Win7 system can not automatically open Ali Wangwang how to do?
Win10 external optical drive into the CD does not respond to the problem and solution