By default, when you install XAMPP in your windows machine or mac, the root
password for the MySQL is set to empty. But this is not recommended, as the MySQL database without a password will be accessible to everyone. To avoid this, a proper/secure password must be set to the user root
. To do it in XAMPP, there are two ways.
Open the command-line mysql client on the server using the root account. Then you will want to run the following two commands, to see what the root user host is set to already: use mysql; select host, user from user; Here’s an example of the output on my database, which is pretty much the default settings. Also: Some versions of MySQL set their passwords to expire by default, even the root password! If the password expires, Kodi cannot access the database and the TV Series and Movies libraries will disappear. To avoid this and/or fix it after it happens, make sure the account's password does not expire.
Method 1: reset XAMPP MySQL root password through web interface:
After you started your XAMPP server, go to the browser and type the URL:
(incase you’ve modified XAMPP server port, you need to include that port number also in previous URL). The security page will be shown where you can change the
password for MySQL. This will update the phpMyAdmin config also.
Method 2: reset XAMPP MySQL root password through SQL update:
- Start the Apache Server and MySQL instances from the XAMPP control panel.
- After the server started, open any web browser and give
(if you are running XAMPP on 8090 port). This will open the phpMyAdmin interface. Using this interface we can manager the MySQL server from the web browser.
- In the phpMyAdmin window, select SQL tab from the right panel. This will open the SQL tab where we can run the SQL queries.
- Now type the following query in the textarea and click GoUPDATE mysql.user SET Password=PASSWORD('password')WHERE User='root';FLUSH PRIVILEGES;
- Now you will see a message saying that the query has been executed successfully.
- If you refresh the page, you will be getting a error message. This is because the phpMyAdmin configuration file is not aware of our newly set root passoword. To do this we have to modify the phpMyAdmin config file.
- Open the file
Although you can get XAMPP download which provides all in one solution which includes Apache, PHP, MySQL. But if you want to have MySQL download separately then this article is for you. After installing MySQL you can do mysql performance tuning. This will require technical knowledge of SQL and RDBMS. You can improve performance of database software. MySQL is preferred for OLTP (online Transaction processing). You’ll be surprised to know that some of huge internet giants are using MySQL to power High volume websites.
MySQL can be connected with Visual Studio 2012 or Visual Studio 2010 using MySQL data connecter. You can use MySQL connectors to integrate MySQL DB with worlds most popular IDE using ODBC and JDBC.
Get MySQL download to see below features of Database Management software:-
- Free of cost Relational Database Management Systems.
- Complete connectivity with All Major Development Tools.
- MySQL Connectors for Python, C++, .NET, ODBC, JDBC etc.
- Performance in Database.
- Database Server Scalability.
- Reduce Database TCO.
- Popular Open Source Data Management Software.
- MYSQL Workbench provides complete Integrated Development Environment.
- Free MySQL Tutorial and Support.
- Performance in MySQL can be seen in detailed here.
- Partitioning Function Included For Huge Database Performance.
- Improved Query Optimizer
Before starting MySQL download, I suggest you should have a look on MySQL minimum system requirements:
- Operating Systems: Windows 8, Windows 7, XP (All 32 Bit / 64 Bit Systems), Linux, Mac OS X
- RAM: 512 MB
- Processor: 1 Ghz
- Space: 500 MB (This is not database space which you will create later)
Note that above are minimum requirements for MySQL installation. The scalability and database management system performance depends on your DBMS tuning.
Below are technical details of MySQL Setup if you are interested to see before MySQL Download.
- Software Name: MySQL 5.6.13.0
- Setup File Name: mysql-installer-community-5.6.13.0.msi (Windows), mysql-5.6.13-osx10.7-x86_64.dmg (Mac)
- Size of Setup: 182.44 MB (Windows), 159.5M (Mac)
- License: Opensource Freeware
- MD5 Checksum: d7c9d19e33d85b2eddf66a50cd39d0d4 (Windows), 6717e3f0587407892fcd737ff6cadb04 (Mac)
Now click on below button for MySQL download. Download MySQL Full Setup offline installer standalone. This version of MySQL works for Both 32 Bit and 64 Bit versions of Windows 8, Windows 7 etc. The first button is to download MySQL for Windows. Second button is to download MySQL for Mac OS.
Before Installing Software You Must Watch This Installation Guide Video
MySQL Download Setup For Windows
Once you have MySQL downloaded in PC or Mac. Follow below steps to install, configure and use MySQL.
- Double click on MySQL setup file and start installation.
- Wait until MySQL is installed completely.
- During installation you may be prompted for MySQL root user name password.
- This is the MySQL super user credentials. Set them and make them secure.
- Get MySQL Workbench download and install which is a GUI Visual tool for handling databases.
- MySQL workbench is handy tool for Database Administrators. This helps to drag and drop easily objects.
Let us know if you faced any issues during MySQL download or installation.
Password 123
More from my site
Set Root Password Mysql Mac Command
This Post was Last Updated On: August 17, 2020