LNMP Environment modification phpMyAdmin default root username

Source: Internet
Author: User
Tags mysql database phpmyadmin

After the general LNMP installation package is installed, the phpMyAdmin Default user name is root. If you want to change the default root username is also very simple, modify the MySQL root user name can be. It's clear from here. Know phpMyAdmin is just a management tool that can easily manage MySQL data. The following is a procedure.

Login MySQL

Mysql-u root-p

Enter Password: Enter the MySQL password

Choose MySQL Database

Use MySQL;

Change the default root user name to Www.111cn.net

Update user set user= "www.111cn.net" where user= "root";

Refresh Permissions

Flush privileges;


Modify password

mysql> use MySQL;
Database changed
mysql> Update user set user= ' Yeer ', Password=password (' 123456 ');
Query OK, 1 row affected (0.02 sec)
Rows matched:1 changed:1 warnings:0

Exit MySQL

Exit

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.