Because mysql has multiple piress users, the remote connection is disabled.

Source: Internet
Author: User
1. mysql security vulnerability if your mysql root user's password is nul, root, or secret, congratulations, on May 1, 2012, your windows user will have another user named piress, 2. solution (1) when installing MySql, try to select another port (3306 by default). The password is a little more complicated! In ne

1. mysql security vulnerability if your mysql root user's password is nul, root, or secret, congratulations, on May 1, 2012, your windows user will have another user named piress, 2. solution (1) when installing MySql, try to select another port (3306 by default). The password is a little more complicated! In ne

1. mysql Security Vulnerabilities

If your mysql root user's password is nul, root, or secret, congratulations, starting from 2012, your windows user will have another user named piress,

2. Solution

(1) When installing MySql, try to select another port (3306 by default). The password is a little more complicated! In the next step, do not select "Allow Remote Logon ".

(2) Delete A piress user

(3) If the remote connection is enabled during installation, the remote connection will be deleted.

Mysql> use mysql;

Database changed
Mysql> select user, host from user;
+ ----------- +
| User | host |
+ ----------- +
| Cactiuser | % |
| Root | % |
| Wikiuser | % |
| Cacti | localhost |
| Mongoose | localhost |
| Root | localhost |
+ ----------- +
6 rows in set (0.05 sec)

Do you see those "%" above? "%" Indicates that a Remote connection can be established. You can delete the "%" record above.

(4) install a good anti-virus software, such as avast.

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.