What you need to make sure you have are Apache and MySQL. ➋Looking at the XAMPP control panel or dashboard, you can see the modules that are available (based on what you chose to install) and some actions we can do with them. If you’re on a Windows computer, you can also find it on the Start menu. ➊After the installation is complete, start the XAMPP Control Panel, you can search for it on your computer. ➏For all the next steps, click the ‘ Next >‘ button until the installation is complete. I choose to install everything, the installation is not that big. One can as well go ahead and install all there is(which is what I recommend), but if you choose to eliminate some components, the only two you should not are MySQL and phpMyAdmin in addition to Apache and PHP which are required for the installation, thus their checkboxes are disabled. ➎When the installation starts, what we are really interested in is the second step (where we choose what we want to install). ➍Once the download is complete, navigate to the installer on your computer and double-click it to start the installation wizard. ➌Hit the ‘ Download‘ button and wait for your download to finish. If you click on ‘ What’s Included‘ you can see a list of all the components that will be installed along with your XAMPP installation.Īs you can see from the pic above, what we’re interested in is Apache, MariaDB(which is almost just the same as MySQL), and phpMyAdmin (which is a graphical user interface to interact with our data). The latest version is always the most preferable which in this case is found at the bottom of the list for each OS □. ➋Choose your operating system and the version you’d like to download. ➊In your browser navigate to (which is the official download page of the XAMPP server) Step 1: Download and Install XAMPP from its official website. With XAMPP, all you need to do is download the server, install it on your computer, activate it, and connect it with Django from Django’s settings.py, and you’d be ready to go. The first method we will use to connect MySQL with Django is by using XAMPP (Apache server, MariaDB, PHP, Perl). How to Connect Django to MySQL Using XAMPP.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |