Add password to my database

M4grinhojr's profile image M4grinhojr posted 2 years ago in Creating a connection Permalink

Hello guys, anyone can help me to figure out how can I add a password to my default username root in my fiveM server database?

ansgar's profile image ansgar posted 2 years ago Permalink

If that's a MySQL or MariaDB database, you can set it per query after connecting:

SET PASSWORD = PASSWORD('mysecret');
M4grinhojr's profile image M4grinhojr posted 2 years ago Permalink

Yes it is, when I created I did not use a password, but now I will need one in order to connect the database to tebex store, so that players can buy coins.

Please login to leave a reply, or register at first.