

Using the installer version (method A) is the easiest way to install XAMPP.Īfter downloading, start installing Xampp by following the installation steps as shown below. We recommend downloading Xampp installer with the latest version of PHP (was 5.5 at the time of authoring this tutorial) by clicking on the link shown in the screenshot below. The first step is to download the latest version of Xampp installer for Windows, from. Note: All of the above tools are free and open source software. Fortunately, there is an easier way: download and install Xampp, a single download that takes care of all the necessary work in one shot. Of course, installing and configuring all of these programs is a lot of headache. To do so, you need to install a web server, MySQL, and PHP. Lastly, go to your browser and open the link of connection_ can test your AppGini-generated web applications on a local machine before deploying them online. Write a coding below: connect_error)ĭie("Connection failed:". In order to test the user that we created, let create a php file name “ connection_mysql.php“. If you got an error, go to SQL tab, and type: FLUSH PRIVILEGES Step 5: Create a new userįor our own safety, we need to create our user so that the hacker cannot access our account. We going to used this password for the next tutorial. Set your password such as “1234” at line 21 as shown below. The file is located at C:\xampp\phpMyAdmin When you set the password in mySQL through the phpMyAdmin, you also need to set the password in a file named. Go to Edit privileges and click change password tab. You can choose the user account that you want to set the password. It is better to set the password of your MySQL (Database server). In order to check whether the mySQL is work or not, Open your browser and enter This will bring you to the MySQL setup page: XAMPP only offers MySQL (Database Server) & Apache (Webserver) in one setup and you can manage them with the xampp starter.Īfter the successful installation navigate to your xampp folder and execute the xampp-control.exe Today I going to show on how to access MySQL and phpMyAdmin using XAMPP.
