Milti has asked for the wisdom of the Perl Monks concerning the following question:
This error returns when Perl script attempts to connect to a known mysql database"DBI connect('membersdb','memeber',...) failed: Access denied for user 'memeber'@'localhost' (using password: YES) at". Why is this happening when 'ALL PRIVILEGES' on the database have been granted to 'member'@'localhost'. The connection can only be made if I use "root' 'root password'. Here is the statement GRANT ALL PRIVILEGES ON `membersdb`.* TO 'member'@'localhost'. What am I missing?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: DBI->connect fails
by choroba (Cardinal) on Jun 19, 2024 at 19:19 UTC | |
|
Re: DBI->connect fails
by marto (Cardinal) on Jun 19, 2024 at 20:03 UTC | |
|
Re: DBI->connect fails
by Danny (Chaplain) on Jun 19, 2024 at 19:27 UTC | |
|
Re: DBI->connect fails
by ikegami (Patriarch) on Jun 20, 2024 at 01:21 UTC |