Related Documentation Download this Manual
PDF (US Ltr) - 39.4Mb
PDF (A4) - 39.4Mb
PDF (RPM) - 38.5Mb
HTML Download (TGZ) - 10.9Mb
HTML Download (Zip) - 11.0Mb
HTML Download (RPM) - 9.6Mb
Man Pages (TGZ) - 217.4Kb
Man Pages (Zip) - 327.1Kb
Info (Gzip) - 3.6Mb
Info (Zip) - 3.6Mb
Excerpts from this Manual

data-directory-initialization-mysqld

This page has moved or been replaced. The new page is located here:

https://dev.mysql.com/doc/refman/5.7/en/data-directory-initialization.html

Please update any bookmarks that point to the old page.


User Comments
User comments in this section are, as the name implies, provided by MySQL users. The MySQL documentation team is not responsible for, nor do they endorse, any of the information provided here.
  Posted by Alex Kersha on August 6, 2016
For Windows users, after the first initialization of your MySQL instance, the terminal may open and close too quickly for you to see the return messages from the startup sequence. Check to make sure that the /data directory was created. Also, if successful and you used the --initialize parameter, there will be a "[computer name].err" file in the /data folder with the temporary one time use password for you to login as root for the first time.