MySQL v5.7.21x86 bone edition

Costas

Administrator
Staff member
download 8.5mb, extract & run :
http://www.mediafire.com/file/dlk1v4ciccu38c4/mysql-5.7.21-win32_bone_edition_winrar5.rar


this is how to setup it :
JavaScript:
/*

Download&extract MySQLx86 to c:\mysql
https://cdn.mysql.com//Downloads/MySQL-5.7/mysql-5.7.21-win32.zip


Download&Install Visual C++ Redistributable 2013 for x86
https://www.microsoft.com/en-gb/download/details.aspx?id=40784

*/

//create the my.ini, 'one folder back' by bin folder. Paste the following :
[mysqld]
basedir = "/mysql"
datadir = "/mysql/data"
port = 3306
server_id = 1
log_error = "mysql_error.log"
pid_file = "mysql.pid"
socket = "/mysql/mysql.sock"

# Optional - Default Configuration
max_allowed_packet = 8M
key_buffer_size=16M

# Where do all the plugins live
#plugin_dir = "/mysql-5.7.17/lib/plugin/"


//initialize the mysql master dbase
mysqld --initialize-insecure

//run server (yes you can close the cmd window)
mysqld

//open new cmd window

//login to server
mysql -u root

//change dbase to mysql master dbase
use mysql;

//set the root password (in old versions this field named 'password', now called 'authentication_string')
update user set authentication_string=password('password') where user='root';

//because we modified the grant table, we have to execute
FLUSH PRIVILEGES;

//exit from mysql by typing 
quit

//if you like, you can stop the server, when asking for password type the one you used on update^
mysqladmin -u root shutdown -p

//if you stopped^, rerun the server
mysqld

greets to http://webdevzoom.com/install-mysql-zip-file-on-windows/
 
Top