random1 Posted October 28, 2015 Share Posted October 28, 2015 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? Quote Link to comment https://forums.phpfreaks.com/topic/298882-how-to-install-mysql-579/ Share on other sites More sharing options...
Ch0cu3r Posted October 28, 2015 Share Posted October 28, 2015 (edited) 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 installhttps://dev.mysql.com/doc/refman/5.7/en/windows-install-archive.html Edited October 28, 2015 by Ch0cu3r Quote Link to comment https://forums.phpfreaks.com/topic/298882-how-to-install-mysql-579/#findComment-1524583 Share on other sites More sharing options...
random1 Posted October 29, 2015 Author Share Posted October 29, 2015 Thanks 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 Quote Link to comment https://forums.phpfreaks.com/topic/298882-how-to-install-mysql-579/#findComment-1524650 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.