`

MyEclipse连接MySql时候出错Illegal connection port value '3306'及其解决方法

阅读更多

按照eclipse的help中的三个步骤:
1。Configure the Database Explorer JDBC driver for your database
2。Create a database connection profile
3。Open a database connection
在第三个步骤中又出现error
Error while trying to login to database:
Illegal connection port value '3306>]'
解决方法:

eclipse 中<strong class="kgb" onmouseover="isShowAds = false;isShowAds2 = false;isShowGg = true;InTextAds_GgLayer="_u914D_u7F6E";KeyGate_ads.ShowGgAds(this,"_u914D_u7F6E",event)" style="border-top-width: 0px; padding-right: 0px; padding-left: 0px; font-weight: normal; border-left-width: 0px; border-bottom-width: 0px; padding-bottom: 0px; margin: 0px; cursor: hand; color: #0000ff; padding-top: 0px; border-right-width: 0px; text-decoration: underline" onclick="javascript:window.open("http://pagead2.googlesyndication.com/pagead/iclk?sa=l&ai=B5t5FoyDXR9TmIIGe6QO43KyYDNLgk0r229DvAcCNtwHQ6AwQARgBIKy8kQooFDgAUNK-svYBYJ3B3oHYBbIBFHd3dy5lY2xpcHNld29ybGQub3JnyAEB2gE_aHR0cDovL3d3dy5lY2xpcHNld29ybGQub3JnL2Jicy9yZWFkLWNlYy10aWQtNDYwMi1mcGFnZS0zMC5odG1sqQJpq4MP4eSCPsgC4sLJA6gDAegDtwLoA78B6APSAg&num=1&adurl=http://www.telelogic.com.cn/solutions/application_lifecycle_management/software-configuration-management.cfm&client=ca-pub-1681215984289622");GgKwClickStat("配置","www.telelogic.com.cn","afc","2000072883");" onmouseout="isShowGg = false;InTextAds_GgLayer="_u914D_u7F6E"">配置mysql时出现错误
connection url应该填写:jdbc:mysql://127.0.0.1:3306/Mysql
错一个地方都不可以

 

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics