Skip to content

Can't connect to MYSQL without password #24

@ovizii

Description

@ovizii

I've setup a root password for MYSQL and now I cannot automatically create a user/db via this script. Any ideas short of removing the password?

./setup-debian.sh mysqluser mydomain.tld
mysqladmin: connect to server at 'localhost' failed
error: 'Access denied for user 'root'@'localhost' (using password: NO)'
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
MySQL Username: username
MySQL Password: password
MySQL Database: mydomainy.tld

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions