Editing Installation
From Bebot Wiki 2
Jump to navigationJump to searchWarning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 41: | Line 41: | ||
(replace databasename with the name of the database you wish to create) | (replace databasename with the name of the database you wish to create) | ||
2. Press Enter/Return. | 2. Press Enter/Return. | ||
− | 3. CREATE USER username@localhost; | + | 3. CREATE USER username@localhost; (Change username to the username you |
− | + | want, keep @localhost) | |
4. Press Enter/Return. | 4. Press Enter/Return. | ||
5. SET PASSWORD FOR username@localhost = PASSWORD("newpassword"); | 5. SET PASSWORD FOR username@localhost = PASSWORD("newpassword"); | ||
− | (Change username and newpassword to your selected username and password, again keep @localhost) | + | (Change username and newpassword to your selected username and |
+ | password, again keep @localhost) | ||
6. Press Enter/Return. | 6. Press Enter/Return. | ||
− | 7. Type GRANT ALL on databasename.* TO username@localhost; | + | 7. Type GRANT ALL on databasename.* TO username@localhost; (Again, |
− | + | change username, keep @localhost) | |
8. Press Enter/Return. | 8. Press Enter/Return. | ||
9. Type quit then Enter/Return to exit the MySQL Monitor. | 9. Type quit then Enter/Return to exit the MySQL Monitor. |