![]() ![]() User Account Control (UAC) might block some XAMPP functions when installing to C:\Program Files, so it is recommended to install XAMPP to the default folder. After you have stopped the antivirus, select Yes to continue.Ĭonfirm that you will avoid installing the software to C:\Program Files and press OK. So it is recommended to stop your antivirus application during the installation procedure. Some antivirus applications might interfere in the XAMPP installation process. Launch XAMPP installer xampp–win32x.x.xxxxxxinstaller.exe. Go to the official XAMPP website and download the latest version of XAMPP for Windows. The XAMPP open source package has been set up to be incredibly easy to install and to use. ![]() ![]() XAMPP is a completely free, easy to install Apache distribution containing MariaDB, PHP, and Perl. 3306 is default as MySQL/Maria the database port, but I left it here in case someone, sometime, have to use a different port.XAMPP is the most popular PHP development environment. I tested the connection with some PHP-code, which I included here and might come handy for someone. Now you should be able to access that database. Grant all privileges on test_db.* to your Xampp IP-adress which tends to default to "192.168.64.2" and port 3306. Enter the following in any SQL prompt (which normally can be executed by pressing + ): create user userbob identified by 'Pass2bob!' In case needed, log in with the username root and an empty password field.Ĭreate or pick a database for the user, to grant access to, for example "test_db". For simplicity, open phpMyAdmin, by default accessible via 127.0.0.1:80/phpmyadmin/ or 127.0.0.1:80/phpmyadmin/ locally. Here's a solution, that worked on a Mac (but should be relevant to most OS's). So just create a new user with the correct access privileges granted. Normally the issue is that one is trying to use root as a user, which is somewhat prohibited. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |