Hi fleet team, we have trouble in prepare db. root...
# fleet
w
Hi fleet team, we have trouble in prepare db. root@nXXXXXX:/# /usr/bin/fleet prepare db \
--mysql_address=[mysql_ip]:3306 \
--mysql_database=[db] \
--mysql_username=[user_name] \
--mysql_password="[mysql_pwd]"
Failed to start: creating db connection: Error 1045: Access denied for user 'XXXXXX'@'XXXXXX' (using password: YES) we tried from our host connect to mysql and it works. but it keeps failing when we running the command of prepare db. plz advice.
r
Without additional context, my guess would be that the password has some character that your shell is interpreting for some reason such as
$
or
!
. Putting the password in single-quotes instead of double would solve this if that were the case.