InTheWoods
Verified User
The database has been created in DirectAdmin as a user.
Database name: username_database
Username: username_database
Password: example123
(The above info is just an example)
Via SSH, as ROOT, I run:
When prompted for a password, I of course enter: example123
To which I am presented:
What's the deal here? Why does this fail? Is there something specific about DirectAdmin that would make this not work? Why? I've tried using the password for the DA login for "username" as well as the password set to the specific database, and it fails regardless.
I'm trying once again via phpMyAdmin now, logged in as the da_admin user because logging into phpmyadmin as "username" fails after a while, with weird permission issues even though my PHP upload limit and timeout settings should be more than enough to accommodate importing this database and the credentials are correct, obviously, as I'm signed in via SSO from the panel.
Database name: username_database
Username: username_database
Password: example123
(The above info is just an example)
Via SSH, as ROOT, I run:
Code:
mysql -u username_database -p username_database < /home/username/staging/mydatabase.sql
When prompted for a password, I of course enter: example123
To which I am presented:
Code:
ERROR 1044 (42000) at line 18: Access denied for user 'username_database'@'localhost' to database 'mydatabase'
What's the deal here? Why does this fail? Is there something specific about DirectAdmin that would make this not work? Why? I've tried using the password for the DA login for "username" as well as the password set to the specific database, and it fails regardless.
I'm trying once again via phpMyAdmin now, logged in as the da_admin user because logging into phpmyadmin as "username" fails after a while, with weird permission issues even though my PHP upload limit and timeout settings should be more than enough to accommodate importing this database and the credentials are correct, obviously, as I'm signed in via SSO from the panel.