Aller directement à la fin des métadonnées
Aller au début des métadonnées

MySQL 5.1.46 Installation and Configuration

This version of MySQL for windows is supplied as an executable that also provides advanced configuration options.

  1. Create a new directory C:\MYSQL
  2. Install by executing "mysql-essential-5.1.46-win32.msi" in the installations folder.
  3. Choose Custom Setup Type as this gives more options on how MySQL is installed
  4. Choose to install both the MySQL engine and the MySQL data to C:\MYSQL (allows backups to take place easily without problems with the 'space' character in the filename)
    The MySQL data will automatically be placed in a 'data' directory under C:\MYSQL\
  5. Accept all other default installation suggestions.

After the installation completes, the option to Configure the MySQL Server now; please select and choose the following options:

  1. Detailed Configuration
  2. Server Machine
  3. Multifunctional Database
  4. 'Next >'
  5. Decision Support
  6. Enable TCP/IP on port 3306 and add firewall exception; enable strict mode.
  7. Standard Character Set
  8. Install as Windows Service (MySQL)
  9. Include bin Directory (True)
  10. Set the username to <mysql_root_username> and <mysql_root_password> DO NOT FORGET!
  11. Do not allow remote access!
  12. Execute the configuration script

Before continuing, testing of the MySQL database engine must be completed. Execute Start>My SQL> MySQL Command Line Client

  1. Enter the password when prompted, if no errors are stated, the mysql engine is working.
  2. As a second test, to test server restarts, access the windows command prompt
  3. Type NET STOP mysql
  4. Wait
  5. Type NET START mysql
    Both these tests should complete successfully.
  6. Open the C:\MYSQL\my.ini file and confirm the following default settings:
    Enhancing Performance

    Enhancing performance on MySQL can only take place after a few weeks of use. However, the following settings should be configured in the C:\MYSQL\my.ini file to have optimum performance from the start:

    1. Open the C:\MYSQL\my.ini file for edit
    2. Ensure that the following changes are made:
    Restart the server again for the system to recognise the new environment variable that was added by the MySQL Installation script. Note that logging off and back on will NOT work for system environment variables like User variables.
  • Aucun