MySQL Download and Setup Instructions
MySQL Download and Setup Instructions
Modified By SamePage Support on Feb 07, 2011 5:56 AM | Owner: SamePage Support
| Attachments: 0 | Comments: 0 | Version: 34
Tags : None Rating
2. Install MySQL
1
2.1 Click on the mysql-essential-5.0 icon to start the installation.
2.2 The MySQL setup wizard opens up. Click on the next button to
proceed.(It is recommended to retain the default options) .
2.3 Choose appropriate options in the following screens and click on 'Install' .
2.4 Click on 'Finish' to complete the installation .
3.9. Under Modify Security Settings enter the current password and then the
new password. If you are a first time user leave the current root password field
blank and just enter the New root password and confirm.
4. Once the MySQL database is installed follow the below given steps for
limiting account resources.
2
UPDATE USER SET MAX_CONNECTIONS = '0';
UPDATE USER SET MAX_USER_CONNECTIONS = '0';
SET GLOBAL LOG_BIN_TRUST_FUNCTION_CREATORS = ON;
5.1. Start MySQL service in services console, and follow below given steps
7. If you plan to use the *.ini file to start the MySQL database then please make additional
these entry for default-character-set into it and follow the below mentioned steps:
7.1. In the .ini file under [mysqld] add the following exactly as they appear
here. You will normally find a my.ini file in C:\Program Files\MySQL\MySQL
Server 5.0. The actual location will depend on where you have installed MySQL.
[mysqld]
default-storage-engine=innodb
default-character-set=utf8
3
7.2. Stop the MySQL database and restart it again.
8. In the SamePage installation please make a note the in the Database URL field enter the
database name you created:
eg: jdbc:mysql://[localhost
or IP Address of m/c where MySQL is
installed]:3306/[your_database_name]
Back to Top
3. Become the superuser if you are working in your account. (Type "su root" at the prompt and
give the root password).
4. Change to the directory on the Linux m/c that has the RPM download.
4
(b) rpm -e MySQL-client-enterprise-gpl-5.0.36sp1-0.rhel4.i386.rpm
9. Now we'll set a password for the root user. Issue the following at the prompt.
10. Typing the following at the prompt starts the mysql client program.
11. Once the MySQL database is installed follow the below given steps for
limiting account resources.
Resource limits are stored in the max_questions, max_updates,
max_connections and max_user_connections columns.
If your user table doesn't have these columns, it must be upgraded; see Section
5.5.8, “mysql_upgrade — Check Tables for MySQL Upgrade”.
Please follow below given steps:
5
13. If you choose to use the configuration file (*.cnf) to start the MySQL database
then please make additional these entry for default-character-set into it and follow the below
mentioned steps:
13.1. In the .cnf file under [mysqld] add the following exactly as they appear
here. You will normally find my.cnf file in /etc directory. The actual location will
depend on where you have installed MySQL.
[mysqld]
default-storage-engine=innodb
default-character-set=utf8
14.In the SamePage installation please make a note the in the Database URL field enter the
database name you created:
Back to Top
Here is the MySQL Trouble Shooting Guide if user faces issue in configuring MySQL
database for SamePage application.