Welcome Guest. Please Login or Register  


You are here: Index > AMPPS > General Support > Topic : #1045 - Access denied


Poll
Poll Question : Do the Post has more elaboration to its issues
Good (0) (0%)
Bad (0) (0%)
True (0) (0%)
False (0) (0%)

Total Votes : 0




Normal Mode | Print  

#1045 - Access denied
ant0n
Group: Member
Post Group: Newbie
Posts: 20
Status:
Quote From : tidus May 30, 2014, 6:56 am

Since you can get into mysql terminal just by pressing enter means the password is blank. Ampps comes with default password as "mysql". So it has been changed, may be the third party tool might have changed it.


The 3rd party app was installed after the password fail and accessed mysql without entering a password. The password has never been changed.

Quote

So to fix the issue, set the password as mysql:
Code
C:\Ampps\mysql\bin\mysqladmin.exe -u root password mysql

If you are changing it to anything else other than "mysql", then change the contents of the file C:\Ampps\ampps\data\my.conf with the same password.


To go back to the beginning: my.conf contains the original value "mysql".

Login fails using password 'mysql' but works with no password
Code

C:\Ampps\mysql\bin>mysql.exe -u root -pmysql
Warning: Using a password on the command line interface can be insecure.
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)

C:\Ampps\mysql\bin>mysql.exe -u root -p
Enter password:
Welcome to the MySQL monitor.  Commands end with ; or \g.


Trying to set the password to 'mysql' fails:
Code

C:\Ampps\mysql\bin>mysqladmin.exe -u root password mysql
mysqladmin.exe: connect to server at 'localhost' failed
error: 'Access denied for user 'root'@'localhost' (using password: YES)'



Quote

Close Ampps and start it again as Administrator. Right click -> Run as Administrator.


As admin:
Code

Amupdate.exe - System Error
The program can't start because QtCored4.dll is missing from your computer. Try reinstalling the program to fix this problem.



Can't access myPHPadmin. Can't set password. Can't upgrade.  Dead end?
IP: --   


Threads
 ant0n   #1045 - Access denied (18 Replies, Read 148176 times)
    |--  tidus   Hi, To check...   on May 28, 2014, 6:27 am
    |--  ant0n   Hi tidus, thanks...   on May 28, 2014, 7:37 pm
    |--  tidus   Hi, It seems...   on May 29, 2014, 6:28 am
    |--  ant0n    :neu: :-( :squi:...   on May 30, 2014, 3:50 am
    |--  tidus   Hi, Since you...   on May 30, 2014, 6:56 am
    |--  ant0n    Since you can...   on May 30, 2014, 10:24 pm
    |--  tidus   Hi, C:\Ampps\mysql\bin>mysqladmin.exe -u...   on May 31, 2014, 11:47 am
    |--  ant0n   Hi, C:\Ampps\mysql\bin>mysqladmin.exe -u...   on June 1, 2014, 4:59 am
    |--  tidus   Hi, Can you...   on June 2, 2014, 10:25 am
    |--  ant0n   Hi, Can you...   on June 2, 2014, 8:54 pm
    |--  tidus   Hi, Okay. Run...   on June 3, 2014, 6:23 am
    |--  ant0n    :neu: C:\Ampps\mysql\bin>mysql.exe -u...   on June 3, 2014, 7:53 pm
    |--  tidus   Hi, Instead of:...   on June 4, 2014, 6:55 am
    |--  ant0n    do the following,...   on June 5, 2014, 4:17 am
    |--  fimaruf   I am having...   on September 20, 2017, 7:31 pm
    |--  Rishi_P   Hi, Please open...   on September 27, 2017, 7:16 am
    |--  W4CO   Using AMPPS 3.8...   on February 27, 2020, 12:13 pm
    |--  nnasco3k   Sorry about the...   on July 21, 2020, 7:16 am

« Previous    Next »

Normal Mode | Print  



Users viewing this topic
1 guests, 0 users.


All times are GMT. The time now is July 4, 2025, 8:07 pm.

  Powered By AEF 1.0.8 © 2007-2008 Electron Inc.Queries: 11  |  Page Created In:0.282