Skip to content

createdb creates database, but no tables #54

Description

@4001982248998

Trying to work around #53, I replaced mariadb with mysql 5.7, confronting me with a new problem:

createdb creates the database, but no tables. This is the command output:

sudo /usr/local/rtg2/etc/createdb mysqlrootpass

/usr/local/rtg2/etc/createdb setting up MySQL database for RTG.
Using MySQL binaries in /usr/bin.

Adding user "snmp" to MySQL database...
mysql: [Warning] Using a password on the command line interface can be insecure.
ERROR 1054 (42S22) at line 1: Unknown column 'Password' in 'field list'
Creating RTG database "rtg"...
mysqladmin: [Warning] Using a password on the command line interface can be insecure.
Reloading MySQL privileges...
mysqladmin: [Warning] Using a password on the command line interface can be insecure.
Creating RTG tables...
mysql: [Warning] Using a password on the command line interface can be insecure.
ERROR 1045 (28000): Access denied for user 'snmp'@'localhost' (using password: YES)
Done.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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