,Why the Internet encountered such problems at last to solve, my really is strange,Very helpless I had to restart the computer .... Here's the problem .... The virtual machine service is not able to open the machine ....Seeing the situation, I suddenly thought of where the problem was.Virtual machine service is not available I have met before because the host's virtual machine related services have been shut down,So I was the first time to look at the host service, sure enough, and the virtual m
Installation:Yum install MySQLYum Install Mysql-serverYum Install Mysql-develSet boot up:Chkconfig-add mysqldSee if boot boot settings are successful chkconfig--list | grep mysql*, the result should be as follows:Mysqld 0: Off 1: Off 2: Enable 3: Enable 4: Enable 5: Enable 6: OffTo create a root administrator:Mysqladmin-u Root Password 123456Reset Password:Service Mysqld StopMysqld_safe--skip-grant-tables Note that the final symbol must not be lessMysql-u RootUse MySQL;Update user set Password=
If MySQL does not have a password, or if the password is set to empty, you can open cmd as an administrator, then enter mysqladmin-u root password 123456 The password for this place is the plaintext password. If you forget the root password for MySQL, you can reset it in the following ways: 1. Kill the MySQL process in the system by doing the following:A. Click the Desktop toolbar to open the taskbar manager.b, from the Task Manager process to find
=" 10.png "alt=" Wkiol1xpsmecoal_aakrnf5-zuu178.jpg "/>We can view the current userMysql> Select User ();650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/72/A0/wKioL1XpsvjCzIcWAACSnZ8QSgc406.jpg "title=" 11.png "alt=" Wkiol1xpsvjczicwaacsnz8qsgc406.jpg "/>Sometimes there may be multiple databases on the server, and on the server we can log in using sock[Email protected] ~]# mysql-uroot-s/tmp/mysql.sock-p654321650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/72/A0/wKioL1Xps7Wy
Centos6.5 reset the mysql password and set to allow remote connection
Forget the root password. Reset the root password of mysql:
1. Modify the mysql configuration file my. cnf
1. Add the following sentence to the [mysqld] section: skip-grant-tables
[Mysqld]Datadir =/var/lib/mysqlSocket =/var/lib/mysql. sockSkip-name-resolveSkip-grant-tablesSave and exit vi.
(Or
information for the following database is then viewed as follows:Mysql> Select host from user where user = ' root ';+-----------------------+| Host |+-----------------------+| % || 127.0.0.1 || Localhost.localdomain |+-----------------------+3 Rows in Set (0.00 sec)The host already has the% value, so run the command directly: Mysql>flush privileges; Two Mysql> Grant all privileges on * * to ' root ' @ '% ' withgrant option; Query OK, 0 rows affected (0.02 sec) mysql> flush Privileges; Query OK,
Release date:Updated on:
Affected Systems:Debian Linux 5.0 xLinux kernel 2.6.xOpenVZ Project OpenVZ 028stab089. 1OpenVZ Project OpenVZ 028stab085. 2OpenVZ Project OpenVZ 028stab081. 1Unaffected system:OpenVZ Project OpenVZ 028stab091. 1Description:--------------------------------------------------------------------------------Bugtraq id: 46793Cve id: CVE-2011-1093
Linux Kernel is the Kernel of the Linux operating system.
Linux Kernel has a remote d
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.