MariaDB 10.1 needs CREATE USER before GRANT on restore: system account

Version 1.592


Relating to fix which applied to dbname_user accounts: The restore of a database had it's own code to create the system account, which was not updated with id=1801. Swapped it out and replaced it with the now standardized internal code to correctly handle all MySQL/MariaDB versions and their variances. Related error: Error Adding Main Username to database: Can't find any matching row in the user table ---- T20423

Interested to try DirectAdmin? Get a 30-day Free Trial!