Jump to content

Recommended Posts

I'm trying to fresh install the latest version of MySQL manually.

 

When I download it from mysql.com I get the file "mysql-5.7.9-winx64.zip", but unlike previous versions it has no "data" folder and a near empty "my.ini" file.

 

Could someone more learned let me know what is going on with this?

Link to comment
https://forums.phpfreaks.com/topic/298882-how-to-install-mysql-579/
Share on other sites

With a manual install mysql does not come with configuration or data directory. Those you need to create or configure yourself.

 

The following explains what steps you need to take for a manual install
https://dev.mysql.com/doc/refman/5.7/en/windows-install-archive.html

Edited by Ch0cu3r

Thanks :D

 

I ended up doing the following...
 
1) Stop MySQL Service
 
2) Initialize default mysql database ("data" folder) using command line
mysqld.exe --initialize --user=mysql
 
3) Run (start) MySQL with passwords disabled
mysqld.exe -u mysql --skip-grant-tables
 
4) Manually edit `mysql`.`user` table passwords
This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.