Monday, July 9, 2012

INSTALLING OF MYSQL NOINSTALL

Step 1:
Extract the zip file of mysql-noinstall. (any version)
Step 2:
Create a folder mydata in C: or D: and copy the folder data (found inside the mysql) and put it to the mydata folder that you created.
Step 3:
Create a my.ini file inside the WINDOWS FOLDER found in C: . The my.ini file contains:
            [mysqld]
# set basedir to your installation path
basedir=c:/mysql
# set datadir to the location of your data directory
datadir=c:/mydata/data
Step 4:
Run the following command to the command prompt:
            cd c:/mysql/bin
            mysql start
            mysql –u root
to shutdown:
            mysqladmin –u root

No comments:

Post a Comment