HungPhann opened a new issue, #4340: URL: https://github.com/apache/streampark/issues/4340
### Search before asking - [x] I had searched in the [issues](https://github.com/apache/streampark/issues?q=is%3Aissue+label%3A%22bug%22) and found no similar issues. ### Java Version _No response_ ### Scala Version 2.11.x ### StreamPark Version 2.1.5 ### Flink Version 1.20.0 ### Deploy mode kubernetes-application ### What happened I'm deploying StreamPark in K8s with Helm. I'm encountering this error from StreamPark pods: ``` ### Error querying database. Cause: java.sql.SQLSyntaxErrorException: Table 'streampark.t_flink_app' doesn't exist ### The error may exist in org/apache/streampark/console/core/mapper/ApplicationMapper.java (best guess) ### The error may involve defaultParameterMap ### The error occurred while setting parameters ### SQL: SELECT id,team_id,job_type,project_id,user_id,job_name,job_id,job_manager_url,version_id,cluster_id,flink_image,k8s_namespace,state,`release`,build,restart_size,restart_count,option_state,alert_id,args,module,options,hot_params,resolve_order,execution_mode,dynamic_properties,app_type,tracking,jar,jar_check_sum,main_class,dependency,start_time,end_time,duration,cp_max_failure_interval,cp_failure_rate_interval,cp_failure_action,TOTAL_TM,total_slot,available_slot,jm_memory,tm_memory,total_task,flink_cluster_id,create_time,option_time,modify_time,k8s_rest_exposed_type,k8s_pod_template,k8s_jm_pod_template,k8s_tm_pod_template,ingress_template,default_mode_ingress,resource_from,k8s_hadoop_integration,tags,description FROM t_flink_app WHERE (tracking = ? AND execution_mode NOT IN (?,?)) ### Cause: java.sql.SQLSyntaxErrorException: Table 'streampark.t_flink_app' doesn't exist ; bad SQL grammar []; nested exception is java.sql.SQLSyntaxErrorException: Table 'streampark.t_flink_app' doesn't exist ``` I want to check if StreamPart itself will initialize MySQL database or StreamPark admin needs to do that. If it's the later case, is there any scripts admin can use to do it? Thank you! ### Error Exception ```log ``` ### Screenshots <img width="1340" height="651" alt="Image" src="https://github.com/user-attachments/assets/f16e0eb7-e942-4878-b891-da8dc75a06e5" /> ### Are you willing to submit PR? - [ ] Yes I am willing to submit a PR!(您是否要贡献这个PR?) ### Code of Conduct - [x] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
