Goinception itself is based on TiDB, so it has a complete user management module. For ease of use, this function is turned off by default.
Open authentication method:
Add the following parameters in the config.toml configuration file (file root node or [inc] node)
skip_grant_table = false
The supported syntax is as follows:
May not be used
Query user list
The default initial user is root, and the password is empty
If you forget the password, you can restart it by skipping authentication. After changing the password, turn on authentication and restart goinception (this method is similar to MySQL).
Note: The data directory (default is /tmp/tidb
) may be damaged during abnormal shutdown. At this time, you need to delete the directory and restart, but the created users will be lost, so please pay attention to back up the directory or save the user creation script.
This function is the only one that needs attention to save the data directory, and no other functions are needed.
Вы можете оставить комментарий после Вход в систему
Неприемлемый контент может быть отображен здесь и не будет показан на странице. Вы можете проверить и изменить его с помощью соответствующей функции редактирования.
Если вы подтверждаете, что содержание не содержит непристойной лексики/перенаправления на рекламу/насилия/вульгарной порнографии/нарушений/пиратства/ложного/незначительного или незаконного контента, связанного с национальными законами и предписаниями, вы можете нажать «Отправить» для подачи апелляции, и мы обработаем ее как можно скорее.
Комментарий ( 0 )