· Step 1 Open Terminal To change the sudo user password, you must first open the command line or terminal on your CentOS 8 system To do this, you can either use the key combination "Ctrl Alt t" to open the terminal, or you can access it from the application launcher search bar as follows You can open the application launcher search · จากนั้นเราจะสามารถเชื่อมต่อกับ database เป็นผู้ใช้ root ได้โดยไม่ถาม password # mysql u root ผลลัพธ์เช่นนี้ เมื่อใช้งานเป็น MySQL Type 'help;' or '\h' for help Type '\c' to clear · If you've just installed MySQL, and you haven't set the root password yet, the password will be blank, so you should just press enter here Enter current password for root (enter for none) ERROR 1045 () Access denied for user 'root'@'localhost' (using password NO) Enter current password for root (enter for none)
Install Mariadb Or Mysql On Centos Or Ubuntu Linux Mining
Enter current password for root (enter for none) mysql