<@U0A71G31CDV> What is the first time password for...
# questions-and-troubleshooting
c
@Rocky What is the first time password for root user?
r
The default password for the root user in StarRocks is empty (no password). When you first connect to a newly deployed StarRocks cluster using a MySQL client, you can log in as follows:
Copy code
bash
mysql -h <fe_ip> -P<fe_query_port> -uroot
It is highly recommended to set a password for the root user immediately after the first login for security reasons:
Copy code
sql
SET PASSWORD FOR 'root' = PASSWORD('your_new_password');
If you are deploying via Helm in Kubernetes, you might have configured a password during installation using a secret (e.g.,
starrocks-root-pass
), in which case the password would be whatever value you provided in that secret. References • administration/user_privs/authentication/native_authentication.md • quick_start/helm.md • administration/management/FE_configuration.md • deployment/deploy_manually.md • administration/management/monitoring/Monitor_and_Alert.md • faq/Deploy_faq.md