close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

MySQL Error After Password Change

Thread began 8/10/2013 3:35 pm by Daniel | Last modified 8/12/2013 7:27 am by Jason Byrnes | 3161 views | 1 replies |

Daniel

MySQL Error After Password Change

Hi there

I added a root password for protection and now I cant get in to it I get this message.


Welcome to phpMyAdmin




Error

MySQL said: Documentation
Cannot connect: invalid settings.

phpMyAdmin tried to connect to the MySQL server, and the server rejected the connection. You should check the host, username and password in your configuration and make sure that they correspond to the information given by the administrator of the MySQL server.


Please could you now tell me how to fix this?

Sign in to reply to this post

Jason ByrnesWebAssist

You will need to update the phpMyAdmin config file to change the password that is used on starting phpMyAdmin

The exact location of this depends on the testing server package you are using and the OS.

For example, using Mac OS with MAMP as the testing server package:
The MAMP Files are installed to the Applications:MAMP folder

the phpMyAdmin configuration file is located at:
Applications:MAMP:bin:phpMyAdminForPHP5:config.inc.php

if MAMP is configured to use PHP 5 or
Applications:MAMP:bin:phpMyAdminForPHP4:config.inc.php

if MAMP is configured for PHP 4


in that file is aline that sets the password using a variable named:
$cfg['Servers'][$i]['password']

for example:
$cfg['Servers'][$i]['password'] = 'test123'; // MySQL password (only needed
// with 'config' auth_type)


edit that line to use the new root password.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...