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
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...........