The second statement created the csuser, allowing remote access from other computers. GRANT ALL ON csmain.* TO first statement created the csmain database. Mysql-create.txt contains text similar to this: CREATE DATABASE IF NOT EXISTS csmain Where the text in red is the root account's password (less the single quotes). Mysql-ini.txt contains text similar to this: ALTER USER IDENTIFIED BY ' password' The script creates two files in the interactive user's Documents directory: The intention is that CentreStack will access the csmain database using csuser not root. In addition to the MySQL root user a csuser account is created that only has access to the csmain database. The script is designed for the principle of least privilege in mind.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |