Install Mysql from ZIP without MySQL Installer or Exe
How to install MySQL from Zip file .
Step1 :
Download MysSQL from myql website .. Download From Hereyou will see mentioned folder and file .except red circle folder ,that I have created manually .
Data: for storing database file .
error: for storing error log .
tmp: it need to for installation of myql
error: for storing error log .
tmp: it need to for installation of myql
Step 2: now create a configuration file my.cnf(linux) ,my.ini (windows) .
Mandatory configuration parameter that need to include in your file as shown .
Step 3 : Now Need to initialize mysqld by mentioned any of command .
mysqld --initialize
mysqld --initialize-insecure
mysqld --initialize
mysqld --initialize-insecure
In my case first command did not work properly ,but 2nd command work file .. ,now I am telling difference between these command . , first command will generate a secure key for connecting mysql but 2nd command will let you intilize mysql without password , you can generate it letter my mentioned command
Alter user ‘root’@’localhost’ identified by password ‘password’
Step 4 : so now we have initialized , go to bin install and type “mysqld”
if server start perfectly without error .. then it will be in connected state .else it will break and check for Error log.
if server start perfectly without error .. then it will be in connected state .else it will break and check for Error log.
Step 5: where to check Error Log .
open Error log folder ,you will see error in error log as shown
open Error log folder ,you will see error in error log as shown
Comments
Post a Comment