MySQL Installation
Submitted by alpha_luna on Thursday, July 9, 2015 - 23:16.
Good Morning!!!
To make some follow-up with my tutorial, MySQL Intro, Today, I decided to make another tutorial on how the Installation of MySQL. In this Chapter, explains installation procedure of MySQL.Download Installation Package
For the installation of MySQL, they have an installation package and can be downloaded directly from the MySQL Downloads page, which can be found at www.mysql.com/downloads. For the Users, you can select your own version, platform and download the installation file to your computer.Pre-install Tasks
*You can create two MySQL Databases. There are:- Registrar Bindings
- User Service and Security Service
- First, you must log on to the MySQL database as an administrator.
- Second, you have to create a new MySQL database, by doing mysql> create a database_name; where the database_name is the name that you identify the database, which is created.
- Then, verify your new database, which you created, by doing mysql> show database.
- Lastly, once you create and verify the database, log out from MySQL, by doing mysql> exit.
Installation Guide for (Windows)
For the Windows Operating System, you can be easily installed the MySQL Database. MySQL comes with a neat pack, including the .exe file. Kindly download the file, then you have to unzip the file and run the .exe file. For the default, your installed MySQL can be located in C:\mysql. After installing, test the server in the command prompt. By doing this test, follow the steps below:- Press the Start and Select Run.
- Type "cmd" in the Run directory then Press Enter. The command prompt will be open.
- Lastly, go to the location, C:\mysql\bin, and Type the mysqld.exe.
Installation Guide for (MAC)
These are the following procedures on how to install the MySQL in MAC OS:- First, download the latest MySQL version by selecting MAC in the platform tab. Users can directly download the MySQL latest version in MySQL downloads.
- Second, unzip the current files after downloading.
- Then, run the MySQL-standard-5.5.9-apple-darwin-7.8.0 powerpc.pkg file to start the installation.
- Lastly, you have to double click MySQLStartUpItem.pkg to install the start-up files.
Configuring MySQL for (MAC)
Here the steps to configure the MySQL database in MAC OS:- First, you must Login as an Administrator or with admin privileges.
- Second, launch the terminal utility. /Application/Utilities folder.
- Then, you have to edit the command in the $prompt as sudo pico /etc/my.cnf.
- Lastly, you have to enter the password to the password prompt. The password should have an administrator privileges.
Post-install Tasks
MySQL includes a blank password for the MySQL root. Once the MySQL database successfully installed the Users should set a password. The password can set by typing this following command below:- [root@host]# mysqladmin -u root
- [root@host]# mysql -u root -p
- Enter password: *******
Add new comment
- 36 views