After installing MySQL, enter mysql -u root -p in the terminal and press Enter. After entering the password, it prompts access denied......ues password YES/NO error The reason is that the username or password is incorrect! View and modify mysql username and password first step: At this time, you need to enter the /etc/mysql directory, then Now you can enter mysql Step 2: Modify root password Log in to the MySQL client according to the previous step mysql> use mysql; Database changed mysql> update user set password=password('new password') where user='root'; Query OK, 4 rows affected (0.00 sec) Rows matched: 4 Changed: 4 Warnings: 0 mysql> flush privileges; Query OK, 0 rows affected (0.00 sec) mysql> quit Step 3: Log in with the newly changed root and password to view. Install phpmyadmin 1. Open the terminal, enter 2. Then, after the installation is complete, check the Apache server directory (which has been changed from /var/www/html to /media/home/ivalley) and find that there is no such file or folder as phpmyadmin. 3. Here is the key point. When the system installs the software, it is installed in /usr/share/ by default, so your phpmyadmin can be found in /usr/share 4. Therefore, we must create a soft link to 5. Next, open the browser, enter http://localhost/phpmyadmin, enter your account name and password, and you can log in smoothly and use the MySQL database happily. Summarize The above is what I introduced to you about how to view and modify the login name and password of MySQL on Ubuntu and install phpmyadmin. I hope it will be helpful to you. If you have any questions, please leave me a message and I will reply to you in time! You may also be interested in:
|
<<: Detailed explanation of the abbreviation of state in react
>>: How to install Linux flash
difficulty Two mask creation of svg graphics Firs...
Web front end 1 Student ID Name gender age 01 Zha...
Table of contents 1. Introduction 2. Solution 2.1...
An n-digit verification code consisting of number...
Table of contents Solution 1 Solution 2 When crea...
1. forEach() is similar to map(). It also applies...
1. Test environment name Version centos 7.6 docke...
Keepalived installation: cd <keepalived_source...
A set of MySQL libraries for testing. The previou...
This article shares the specific code of js to im...
Front-end test page code: <template> <di...
Hello everyone, I am Liang Xu. When using Linux, ...
.y { background: url(//img.jbzj.com/images/o_y.pn...
Installation Environment Description •System vers...
Overview Today we will mainly share how to config...