?
Solved

mysql for toad connect

Posted on 2014-01-10
6
Medium Priority
?
685 Views
Last Modified: 2014-02-01
I'm trying to connect to mysql via Toad, here is the error I got, any idea why?

System.ArgumentException
Format of the initialization string does not conform to specification starting at index 13.
Stack Trace:
   at System.Data.Common.DbConnectionOptions.GetKeyValuePair(String connectionString, Int32 currentPosition, StringBuilder buffer, Boolean useOdbcRules, String& keyname, String& keyvalue)
   at System.Data.Common.DbConnectionOptions.ParseInternal(Hashtable parsetable, String connectionString, Boolean buildChain, Hashtable synonyms, Boolean firstKey)
   at System.Data.Common.DbConnectionOptions..ctor(String connectionString, Hashtable synonyms, Boolean useOdbcRules)
   at System.Data.Common.DbConnectionStringBuilder.set_ConnectionString(String value)
   at MySql.Data.MySqlClient.MySqlConnection.set_ConnectionString(String value)
   at MySql.Data.MySqlClient.MySqlConnection..ctor(String connectionString)
   at Quest.Toad.MySQL.MySQLConnection.CreateConnection()
   at Quest.Toad.MySQL.MySQLConnection.DoBeforeConnect()
   at Quest.Toad.Db.Connection.Connect(Boolean notify)
   at Quest.Toad.Db.Provider.BackgroundConnector.CreateBackgroundConnection()
0
Comment
Question by:xiaoyunwu
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
6 Comments
 
LVL 60

Expert Comment

by:Kevin Cross
ID: 39771641
Double check the connection string: http://www.connectionstrings.com/mysql/
If your connection string is correct, can you share more details like did this ever work, is this a new install, et cetera...

Other things to check include whether or not MySQL is running on default port.  If it is not, you will need to specify the port with host.  If I remember correctly, it will be IP:port in TOAD's host configuration.
0
 

Author Comment

by:xiaoyunwu
ID: 39771988
the connection string should be correct, since it's entered in a toad window.

This is a new mysql database. I can use Toad to connect to another old mysql database. I'm not sure if port 3306 is open, and don't know how to check, and don't know if firewall etc.

One thing I know is that I can connect to mysql database through Adminer.
0
 
LVL 143

Expert Comment

by:Guy Hengel [angelIII / a3]
ID: 39774710
without a bit more details about the mysql version, and the connection string ...
what version of the mysql toad are you using?
0
Prepare for your VMware VCP6-DCV exam.

Josh Coen and Jason Langer have prepared the latest edition of VCP study guide. Both authors have been working in the IT field for more than a decade, and both hold VMware certifications. This 163-page guide covers all 10 of the exam blueprint sections.

 

Author Comment

by:xiaoyunwu
ID: 39782756
We are using Toad for mysql 7.0.0.2038 and mysql server 5.1. I installed mysql Workbench 6 and am able to successfully connect to the database but still unable using Toad. Im not sure how to view the connection string within Toad. Any suggestions? Thanks.
0
 

Accepted Solution

by:
xiaoyunwu earned 0 total points
ID: 39812054
I used SQLyog instead, it has a community version for free.
0
 

Author Closing Comment

by:xiaoyunwu
ID: 39826062
used work around
0

Featured Post

Get MongoDB database support online, now!

At Percona’s web store you can order your MongoDB database support needs in minutes. No hassles, no fuss, just pick and click. Pay online with a credit card. Handle your MongoDB database support now!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Lotus Notes has been used since a very long time as an e-mail client and is very popular because of it's unmatched security. In this article we are going to learn about  RRV Bucket corruption and understand various methods to Fix "RRV Bucket Corrupt…
In this article, we’ll look at how to deploy ProxySQL.
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question