Ferreteria/v0.6/clade/Sys/Data/Engine/Oper/MyMar/@fx/DoUserSetup
Jump to navigation
Jump to search
|
fx:
DoUserSetup() |
History
- 2024-12-06 Testing this is a PitB. It *might* work when the engine is in credentialed mode now.
- It also might work in uncredentialed mode if FLUSH PRIVILEGES; is run first.
- 2025-01-19 Changed "
CREATE" to "ALTER", because that's what seems to work. Unconfigured root setup ran successfully, one time.- It still showed an error, afterwards: "ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)". I'm not sure what is causing that.
- 2025-06-02 This will probably need some updating (method call names).
Terminology
The following are intended but might not be used consistently here:
- "uncredentialed" is when the engine was started as "
mysqld_safe --skip-grant-tables --skip-networking" - "unconfigured" is when the database can be accessed as db-user "root" from sys-user "root" without a password.
- This seems to happen when there's no db-user named "root". #TODO: testing
Note
- For now, this always uses utility (shell command) mode. Maybe later allow connected mode, if there's a need.