Skip to main content

mysql database password problem Solution

1. Stop your MySQL server completely. This can be done by accessing the Services window inside Windows XP and Windows Server 2003, where you can stop the MySQL service.

2. Open your MS-DOS command prompt using "cmd" inside the Run window. Inside it navigate to your MySQL bin folder, such as C:\MySQL\bin using the cd command.

3. Execute the following command in the command prompt: mysqld.exe -u root --skip-grant-tables

4. Leave the current MS-DOS command prompt as it is, and open a new MS-DOS command prompt window.

5. Navigate to your MySQL bin folder, such as C:\MySQL\bin using the cd command.

6. Enter "mysql" and press enter.

7. You should now have the MySQL command prompt working. Type "use mysql;" so that we switch to the "mysql" database.

8. Execute the following command to update the password:

UPDATE user SET Password = PASSWORD('NEW_PASSWORD') WHERE User = 'root';

However, you can now run any SQL command that you wish. 

Comments

Popular posts from this blog

Etisalat Payment Gateway Integration wordpress

Etisalat Payment Gateway Integration Wordpress What is Etisalat Payment Gateway? IPG (Etisalat Payment Gateway) is the only Payment Gateway in UAE offering electronic payment services especially in UAE and GCC countries. ... Etisalat Payment Gateway connects merchants (sellers of products) in a secure way with banks and financial institutions to process their transactions online. How do I pay my Etisalat bill online? Log on to www.etisalat.ae/quickpay to recharge your prepaid account easily, quickly and securely. Enter your mobile number, the amount, and pay using your credit or debit card. or you can integrate it to your website and receive payment via this gateway direct to you bank. How can I check my Etisalat offer? To check your balance: dial *121# To find prepaid offers and promotions: dial *101# To get Deal of the Day: dial *050# To transfer credit: type the command *100*mobile number*amount# and press ok. Etisalat Payment Gateway Integration wordpress ...

icici Payment Gateway for Joomla Magento OpenCart1.x-2.x OSCommerce PrestaShop WooCommerce Zencart wordpress

Download icici Payment Gateway for All types of CMS icici Payment Gateway for Drupal icici Payment Gateway for  Joomla icici Payment Gateway for  Magento icici Payment Gateway for  OpenCart (version 1.x) icici Payment Gateway for  OpenCart (version 2.x) icici Payment Gateway for  OSCommerce icici Payment Gateway for  PrestaShop icici Payment Gateway for  WooCommerce icici Payment Gateway for  Zencart Download the latest integration kits and shopping cart plugins for  icici Payment Gateway icici Payment Gateway for Joomla Magento OpenCart1.x-2.x OSCommerce PrestaShop WooCommerce Zencart wordpress   icici Payment Gateway  offers everything you need to accept payments online from your website. There are three ways you can integrate your website with our gateway. Hosted Payment Page Use our customisable hosted payment page. This is the fastest and simplest route to start accepting card payments through...

How to make your password Most Secure Password Ever

In the wake of serious security breaches in the last year, from the pilfering of Target customer's credit card information to the celebrity iCloud selfie-hack, it's easy to feel digitally naked. Your current best options—like making your password something along the lines of “**_^XBE47>>" or using two-step verification—also have their shortcomings, which has inspired a crop of enterprising scientists to come up with what must be the oddest, and possibly most secure, password yet: the rhythm of your heart. A team of Toronto scientists has developed a wristband that can use your own heart rhythm, as measured by electrocardiograms (ECG), as an authenticator for everything from accessing email to unlocking cell phones and other gadgets. In a recent talk at the TEDMED conference in Washington and San Francisco, biometric security engineer Foteini Agrafioti told audiences that because our hearts are so unique—from their size to their orientation in the chest to how...