While for mysqld –initialize-insecure, there is no password to be set, Nevertheless, we can still create a password later.īy default, the process will create a user to login with root as the username, we can define another username by adding –user option, e.g. The Difference is: mysqld –initialize will create a random password that written to the log file, in this example mysql_log.log file located in the data folder. This process will create necessary files and databases that used to run MySQL including making a username and optionally a password and set privileges to the user. Initialization MySQL (It needs only once) Reference to the configurations can be found on the official page: Click Here 6. The Optional – Default Configuration section is optional, you can remove or change it as needed.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |