Update to README.md
parent
c40d035f30
commit
91dd9ce173
|
@ -10,5 +10,9 @@ Create user : CREATE USER 'DATABASE_USER'@'localhost' IDENTIFIED BY 'A_VERY_BAD_
|
||||||
|
|
||||||
Replace DATABASE_USER and A_VERY_BAD_PASSWORD by yours.
|
Replace DATABASE_USER and A_VERY_BAD_PASSWORD by yours.
|
||||||
|
|
||||||
Give permissions to user : GRANT SELECT, INSERT, CREATE, DELETE, UPDATE, DROP, EXECUTE ON 'DATABASE_NAME' TO 'DATABASE_USER'@'localhost';
|
Give permissions to user : GRANT SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, INDEX, ALTER, CREATE TEMPORARY TABLES, CREATE VIEW, EVENT, TRIGGER, SHOW VIEW, CREATE ROUTINE, ALTER ROUTINE, EXECUTE ON 'DATABASE_NAME'.* TO 'DATABASE_USER'@'localhost';
|
||||||
|
|
||||||
|
## Config setup
|
||||||
|
|
||||||
|
Start the program once, the "config.json" file will be created. Edit it and replace the "Database" section with your credentials and your database informations.
|
||||||
|
|
||||||
|
|
|
@ -75,8 +75,6 @@ func connect() {
|
||||||
ping()
|
ping()
|
||||||
|
|
||||||
profiler.Add(profiler_DATABASE_CONNECT, time.Duration(time.Since(tStart).Microseconds()))
|
profiler.Add(profiler_DATABASE_CONNECT, time.Duration(time.Since(tStart).Microseconds()))
|
||||||
|
|
||||||
return
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func ExecuteStoredRoutine(name string, args ...any) {
|
func ExecuteStoredRoutine(name string, args ...any) {
|
||||||
|
|
Loading…
Reference in New Issue