unknown database in jdbc

前端 未结 7 1720
有刺的猬
有刺的猬 2021-01-26 00:59

I am using JDBC and new to it. but I keep getting this runtime exception:

   connecting to psysical database...
   com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErr         


        
7条回答
  •  轻奢々
    轻奢々 (楼主)
    2021-01-26 01:26

    yeah this case arrived to me also and actually my database name was correct but the problem is in my port number I was using WAMPP server whose port number is 3308 and i wasted my time by using 3306 so u can check that are u using any other app then first it is recommended to check the port value of it...........

提交回复
热议问题