Jump to content
Pardon our ads (a necessary update) ×

How to install MySQL 5.7.9?


random1

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

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

Archived

This topic is now archived and is closed to further replies.



×
×
  • 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.