Before setting up a LUY database, ensure that the right settings are entered for character set and collation, enabling text both in German and English to be stored correctly. Therefore, set up the LUY database with the following SQL command:
CREATE DATABASE databasename
CHARACTER SET utf8
COLLATE utf8_general_ci;
After that, create a new database user with full access privileges for the LUY database. The following SQL commands are required to give this user both local and remote access to the database:
GRANT ALL PRIVILEGES
ON databasename.*
TO 'username'@'localhost'
IDENTIFIED BY 'userpassword';
If the user in question does not already exist, executing these commands will automatically create a new user.