2/28/2024 0 Comments Mysql installer ubuntu![]() Note : L’activation de cette fonction est en quelque sorte une question de jugement. sudo mysqlsecureinstallation Il vous sera demandé si vous souhaitez configurer le VALIDATE PASSWORD PLUGIN. This process ensures all existing packages are up to date, minimizing the chance of conflicts during the MySQL 8.0 installation. Before diving into the installation process, updating your system is always a good practice. Please remove this script manually when you are done with it (or at least remove the MySQL root password that you put inside it. Dans ce guide, nous allons installer une pile LAMP sur un serveur Ubuntu 20.04. Install MySQL 8.0 on Ubuntu 22.04 or 20.04 via APT Step 1: Refresh Ubuntu PAckages Before MySQL 8.0 Installation. Tee ~/secure_our_mysql.sh > /dev/null /dev/null # Uninstall Expect, commented out in case you need ExpectĮcho "MySQL setup completed. Step 1: Add the MySQL 5.7 APT Repository. Since Ubuntu 20.04 used in this guide only has MySQL 8.0 in the APT repository, we need to add MySQL 5.7 repository first before installing it. Sudo apt-get -qq install expect > /dev/null 1 - Download and install MySQL server and client. #sudo debconf-set-selections /dev/null # Install MySQL quietly MYSQL_ROOT_PASSWORD='?' # SET THIS! Avoid quotes/apostrophes in the password, but do use lowercase + uppercase + numbers + special charsĮcho debconf mysql-server/root_password password $MYSQL_ROOT_PASSWORD | sudo debconf-set-selectionsĮcho debconf mysql-server/root_password_again password $MYSQL_ROOT_PASSWORD | sudo debconf-set-selections It can also purge (uninstall) Expect after completion if you uncomment line 50. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |