Failed to create database #62

Closed
opened 2023-11-05 23:53:03 +00:00 by rkiller666 · 9 comments

Failed to create databases! (MySQLdb.OperationalError) (1045, "Access denied for user 'aime'@'localhost' (using password: YES)")
(Background on this error at: https://sqlalche.me/e/14/e3q8)

I'm not entirely sure what to adjust for core.yaml, I changed the sha2_password from False to "password" but I can't seem to build database.

Failed to create databases! (MySQLdb.OperationalError) (1045, "Access denied for user 'aime'@'localhost' (using password: YES)") (Background on this error at: https://sqlalche.me/e/14/e3q8) I'm not entirely sure what to adjust for core.yaml, I changed the sha2_password from False to "password" but I can't seem to build database.
Collaborator

Hello,

Regarding the sha2_password trigger, it is either True or False, not a password.

You would but the database user's password inside the proper field instead.

Hello, Regarding the sha2_password trigger, it is either True or False, not a password. You would but the database user's password inside the proper field instead.
Author

I've changed sha2_password to True and entered my SQL password under password: "password" under database but same issue happens

I've changed sha2_password to True and entered my SQL password under password: "password" under database but same issue happens
Author

is the database username this?

is the database username this?
Author

I have MySQL Server 8.0.35 instead of MySQL Server 8.0.29

I can only download MySQL Server 8.0.28 and MySQL Server 8.0.30, will this affect the setup?

I have MySQL Server 8.0.35 instead of MySQL Server 8.0.29 I can only download MySQL Server 8.0.28 and MySQL Server 8.0.30, will this affect the setup?
Author

I'm sorry, I've tried 8.0.30 and 8.0.35 where every possible option I have changed to "aime" and sha2_password I have attempted with true and false. I still can't seem to build database, any help will be greatly appreciated

I'm sorry, I've tried 8.0.30 and 8.0.35 where every possible option I have changed to "aime" and sha2_password I have attempted with true and false. I still can't seem to build database, any help will be greatly appreciated
Collaborator

If you used the commands that was in the Windows setup guide, leave sha2_password to False otherwise it will not work

If you used the commands that was in the Windows setup guide, leave sha2_password to False otherwise it will not work
Author

If you used the commands that was in the Windows setup guide, leave sha2_password to False otherwise it will not work

I followed the windows setup guide, left sha2_password to False, input the root password as database password but I still can't build database. Following the setup guide, I have no clue what to change username or name under database to, I'm assuming they remain "aime"?
"Leave everything under Windows Service as default and hit Next >" according to this step

> If you used the commands that was in the Windows setup guide, leave sha2_password to False otherwise it will not work I followed the windows setup guide, left sha2_password to False, input the root password as database password but I still can't build database. Following the setup guide, I have no clue what to change username or name under database to, I'm assuming they remain "aime"? "Leave everything under Windows Service as default and hit Next >" according to this step
Collaborator

It really depends on what you wrote on that line of code
CREATE USER 'aime'@'localhost' IDENTIFIED BY 'MyStrongPass.';

If you wrote exactly this.... the username would be aime and the password would have been MyStrongPass.

It really depends on what you wrote on that line of code `CREATE USER 'aime'@'localhost' IDENTIFIED BY 'MyStrongPass.';` If you wrote exactly this.... the username would be aime and the password would have been MyStrongPass.
Author

Holy shit it worked. Thank you soo much, my tech illiterate ass can't read code well

Holy shit it worked. Thank you soo much, my tech illiterate ass can't read code well
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: Hay1tsme/artemis#62
No description provided.