TarsCloud / Tars

Tars is a high-performance RPC framework based on name service and Tars protocol, also integrated administration platform, and implemented hosting-service via flexible schedule.
BSD 3-Clause "New" or "Revised" License
9.79k stars 2.08k forks source link

Running Linux_ install.sh Error installing tars framework, log output MySQL access failed? Is it a bug? #793

Closed TARS-Question closed 4 years ago

TARS-Question commented 4 years ago

Maria DB 10.4.13 was used.

TARS-Answer commented 4 years ago

The installation script will automatically create a TarsAdmin database user for subsequent service use. The installation script executes the corresponding creation commands by detecting the user mysql version, because different versions of mysql are different. But mariaDB is special, so the creation of TarsAdmin user may not be executed successfully.

TARS-Answer commented 4 years ago

安装脚本运行过程会自动创建TarsAdmin数据库用户,用于后续服务的使用。安装脚本通过检测用户mysql版本来执行相应的创建命令,因为不同版本mysql有所差别。但是mariaDB较为特殊,因此可能没有成功执行TarsAdmin用户的创建。