🛢️MySQL Installation
Creating a local server environment on your Windows machine with XAMPP and setting up a database for FiveM involves a few steps. This guide will show you how to do it in no time!
Step 1: Update and Upgrade your linux machine
sudo update
sudo upgrade -yStep 2: Installing mysql-server
sudo apt install mysql-server -yStep 3: Connecting to mysql
sudo mysqlStep 4: Assigning a password to the root account
ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'COOL';FLUSH PRIVILEGES;EXIT; Step 5: Logging back into your MySQL server after changing the password
sudo mysql -u root -pStep 6: Creating the FiveM database
Step 7: Exit
Last updated