README.1st:

  Revise 4.1 Windows-install instructions.
parent a057f75b
This ALPHA build of MySQL 4.1 for the Windows platform does not come with This ALPHA build of MySQL 4.1 for the Windows platform does not come
an installer. A full-featured installer is being developed for with an installer. A full-featured installer is being developed for the
the 4.1 series, and it is scheduled to be released with MySQL 4.1 BETA. 4.1 series, and it is scheduled to be released with MySQL 4.1 BETA.
** FRESH INSTALL ** ** FRESH INSTALL **
...@@ -14,49 +14,63 @@ in the user manual for starting/stopping MySQL: ...@@ -14,49 +14,63 @@ in the user manual for starting/stopping MySQL:
** UPGRADE INSTALL ** ** UPGRADE INSTALL **
To install MySQL 4.1 as an upgrade to your current MySQL version, you need To install MySQL 4.1 as an upgrade to your current version of MySQL, you need
to perform the following steps: to perform the following steps:
* Backup your original install (always a good idea!) * Back up your original installation (always a good idea!)
* Unzip this archive to a separate directory from your currently
installed MySQL database (or don't unpack the 'Data' subdirectory * Unzip the 4.1 archive to a directory that is different than where your
when unzipping this archive, otherwise your databases will be over- current MySQL installation is located. (Or, if you do unzip this
written). archive into the same location as your existing installation, do NOT
unpack the 'data' subdirectory. If you unpack the 'data' directory,
your existing databases will be overwritten.)
* Shutdown all mysql server processes/services * Shut down all MySQL server processes/services.
* Remove the Win32 Service (if appropriate for your OS):
* Remove the Win32 MySQL service (if appropriate for your OS):
c:\mysql\bin\mysqld-nt --remove c:\mysql\bin\mysqld-nt --remove
* Exit 'WinMySQLAdmin' (if it is running). * Exit 'WinMySQLAdmin' (if it is running).
* If you unzipped this archive into a separate directory, copy all of the
directories and their contents from the location where you unzipped this * If you unzipped this archive into a directory different than that
archive, excluding the 'data' directory, to the location of your existing MySQL installation, copy from the archive all its
where your current MySQL server is installed. directories and their contents EXCEPT the 'data' directory into the
* Start the MySQL server with the '--skip-grant-tables' option (assuming existing installation.
your MySQL server is installed in 'c:\mysql'):
* Start the MySQL server with the '--skip-grant-tables' option. Assuming
your MySQL installation is located at 'c:\mysql', the command looks like
this:
c:\mysql\bin\mysqld-opt --skip-grant-tables c:\mysql\bin\mysqld-opt --skip-grant-tables
If your installation is located in some other directory, adjust the
pathname in that command (and in the following commands).
* Execute the 'mysql_fix_privilege_tables.sql' script in the 'scripts * Execute the 'mysql_fix_privilege_tables.sql' script that is located in
directory: the 'scripts' directory:
c:\mysql\bin\mysql < c:\mysql\scripts\mysql_fix_privilege_tables.sql c:\mysql\bin\mysql -f mysql < c:\mysql\scripts\mysql_fix_privilege_tables.sql
This script performs any actions necessary to convert your grant tables
to the current format. You may see some "duplicate column" warnings as
it runs; these can be ignored.
* Stop the server * Stop the server:
c:\mysql\bin\mysqladmin -u root shutdown c:\mysql\bin\mysqladmin -u root shutdown
* Re-install the Win32 service (if required): * Re-install the Win32 MySQL service (if required):
c:\mysql\bin\mysqld-nt --install c:\mysql\bin\mysqld-nt --install
* Re-start the server or service as normal. * Re-start the server or service using your normal startup procedure.
** Further Questions ** ** Further Questions **
You can find further information about running MySQL on Windows in the You can find further information about running MySQL on Windows in the
manual that ships in the 'Doc' subdirectory, or at: manual that ships in the 'Doc' subdirectory, or online at the MySQL AB
web site:
http://www.mysql.com/doc/en/Windows.html http://www.mysql.com/doc/en/Windows.html
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment