Install MySQL on Windows 1. Download MySQL binary distribution(e.g. mysql-3.23.37-win.zip) from http://www.mysql.com; 2. Unzip it to a temporary directory; 3. Run the Setup.exe program and dictate the installation path(e.g. e:\mysql); 4. Copy e:\mysql\my-example.cnf to c:\my.cnf; 5. Edit c:\my.cnf to suit the setup: - Uncomment the line “#basedir = c:\mysql” by deleting the leading “#”; - Replace all “c:”s with “e:”.Start MySQL on Window95/98/ME Start the MySQL Server: e:\mysql\bin\mysqld e:\mysql\bin\mysqld-optKill the MySQL Server: e:\mysql\bin\mysqladmin –u root shutdownStart MySQL on WindowsNT/2000/XP Start the MySQL Server as standalone: e:\mysql\bin\mysqld-nt –-standaloneKill the standalone MySQL Server: e:\mysql\bin\mysqladmin –u root shutdownInstall MySQL Server as a service: e:\mysql\bin\mysqld-nt –-installRemove MySQL Server from service: e:\mysql\bin\mysqld-nt –-removeStart the MySQL service: net start mysqlStop the MySQL service: net stop mysql
1. Download MySQL binary distribution(e.g. mysql-3.23.37-win.zip) from http://www.mysql.com;
2. Unzip it to a temporary directory;
3. Run the Setup.exe program and dictate the installation path(e.g. e:\mysql);
4. Copy e:\mysql\my-example.cnf to c:\my.cnf;
5. Edit c:\my.cnf to suit the setup:
- Uncomment the line “#basedir = c:\mysql” by deleting the leading “#”;
- Replace all “c:”s with “e:”.Start MySQL on Window95/98/ME
Start the MySQL Server:
e:\mysql\bin\mysqld
e:\mysql\bin\mysqld-optKill the MySQL Server:
e:\mysql\bin\mysqladmin –u root shutdownStart MySQL on WindowsNT/2000/XP
Start the MySQL Server as standalone:
e:\mysql\bin\mysqld-nt –-standaloneKill the standalone MySQL Server:
e:\mysql\bin\mysqladmin –u root shutdownInstall MySQL Server as a service:
e:\mysql\bin\mysqld-nt –-installRemove MySQL Server from service:
e:\mysql\bin\mysqld-nt –-removeStart the MySQL service:
net start mysqlStop the MySQL service:
net stop mysql