Chinmay Kolhatkar - Vendor
08/19/2026, 2:05 PMRocky
08/19/2026, 2:05 PMbash
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:
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