octobercms / october

Self-hosted CMS platform based on the Laravel PHP Framework.
https://octobercms.com/
Other
11.01k stars 2.21k forks source link

Access denied for user 'root'@'localhost' while Creating Admin Account in Wizard #3411

Closed Ziflin closed 4 years ago

Ziflin commented 6 years ago
Actual behavior

I'm trying to setup a new install of October on Ubuntu 16.04 using mysql (tried MariaDB also) and during the final install using the wizard when it is doing the "Create admin account" I get the following error:

SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: NO) (SQL: select * from information_schema.tables where table_schema = database and table_name = migrations)

I'm guessing it's something I have configured wrong, but I haven't been able to figure it out.

daftspunk commented 4 years ago

@Samuell1 We flip-flopped on this decision already

127.0.0.1 causes network performance issues

Samuell1 commented 4 years ago

@daftspunk but that was 2 years ago, maybe now something changed?

daftspunk commented 4 years ago

@Samuell1 If anything the problem has become worse as it was most likely related to IPv6

Either way, a connection is made (access denied), I'm not sure the solution is the right one anyway. I think in this instance, the user has modified the file, which busted the op cache and reloaded the values