Click here to Skip to main content
15,880,427 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have attempted to install a mysql powered dating app known as Youdate (https://youdate.website/demo) on my test server after setting up an empty database. I added an admin account using the MySql wizard on my server's cpanel. However, when I try to access the database through SSH I am presented with the following error:

mysql -u testadmin -p ****

ERROR 1045 (28000): Access denied for user 'testadmin'@'localhost' (using password: YES)

Does anyone know where I am going wrong? Thanks

What I have tried:

I have changed the password using the cpanel and phpmyadmin to no avail.
Posted
Updated 20-Sep-22 22:10pm
Comments
Richard MacCutchan 21-Sep-22 4:07am    
Moved to solution 1 owing to unreadability.

1 solution

When I use the mysql command interface the sequence is:
C:\Users\zzz\Documents>mysql -u username -p
Enter password: *********
Welcome to the MySQL monitor.  Commands end with ; or \g.

The password must be entered in response to the prompt, rather than at the mysql command.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900