Yemao'Blog For Java

error while performing database login with the mysql-jdbc driver

finally figured it out... duh, I have to remove the brackets (also I guess all MySQL databases have to be named in all caps.
So just in case anybody else has this problem:

Go to: http://www.macromedia.com/go/6ef0253

follow the directions, and for the JDBC URL, enter:
jdbc:mysql://[host]:[port]/[database]

except be sure to enter your own personal information and remove the brackets (for my example: jdbc:mysql://localhost:3306/MYDB

posted on 2007-12-07 08:57 野猫 阅读(6167) 评论(3)  编辑  收藏 所属分类: JAVA

Feedback

# re: error while performing database login with the mysql-jdbc driver 2008-01-19 08:43 El Nino

Thank you!
It's my mistake,I forgot insert "//" after "mysql:".
Thanks again.  回复  更多评论   

# re: error while performing database login with the mysql-jdbc driver 2008-11-14 00:20 ADF

KAN BU DONG O  回复  更多评论   

# re: error while performing database login with the mysql-jdbc driver[未登录] 2010-01-08 10:45 Alan

I didn't understand that how to deal it!my url no error like this 'jdbc:mysql://localhost:3306/school'.  回复  更多评论   



只有注册用户登录后才能发表评论。


网站导航: