Configure MySQL Database
MySQL is an open source database server. MySQL Database powers the most demanding Web, E-commerce and Online Transaction Processing (OLTP) applications. It is a fully integrated transaction-safe, ACID (Atomicity Consistency Isolation Durability) compliant database with full commit, rollback, and crash recovery and row level locking capabilities. MySQL delivers the ease of use, scalability, and performance that has made MySQL the world's most popular open source database.
In this article I will show you, how to use MySQL database with PHP. To use of MySQL database with PHP, make some changes in php.ini file.
Open ‘php.ini’ file and configure as follows:
From above file, uncomment the highlighted line by removing semicolon (;) from front of this line.
Open ‘php.ini’ file and find out ‘extension_dir’ after that set the extension directory path.
Here “C:\php\ext\” is directory path where I had install php.
After making above two changes in php.ini file, restart your apache server. Now your MySQL database server is ready for use with PHP.