forked from opensim/opensim
-
Notifications
You must be signed in to change notification settings - Fork 13
MySQL 8 Configuration
Sara Payne edited this page Jun 29, 2023
·
1 revision
/etc/mysql/mysql.conf.d/mysqld.cnf
Coming Soon
Add
#Changes for OpensimSim
default-authentication-plugin=mysql_native_password
Save the file
Restart the MySql Service
Even though MySql is now set to use Native Password by default, it is still necessary to set up a MySQL user that identifies using native passwords.
sudo mysql
mysql -u root -p
CREATE USER 'DatabaseUserName'@'localhost'IDENTIFIED WITH mysql_native_password BY 'DatabaseUserPassword';
Replace the bold italic text with your details.
CREATE DATABASE DatabaseName; GRANT ALL PRIVILEGES ON DatabaseName TO 'DatabaseUser'@'localhost';
DatabaseName and Database user should be substituted for the values created above. Replace the bold italic text with your details.