MySQL Forums
Forum List  »  MySQL for Visual Studio

Re: SQL Connection Error
Posted by: Joshua Golding
Date: April 29, 2016 01:10PM

Our authentication is good because we’re accessing as root user.

So it must be the port issue. However, when we use the syntax that includes the port, our connection inside Visual Studio is still fine but it fails in browser with:
ArgumentException: Keyword not supported: 'port'.

Connection String is as follows:
<add name="cwt_localConnectionString" connectionString="Server=127.0.0.1;Port=3306;Database=CWT_Local;Uid=root;Pwd=*******;"

We also tried using the “:” syntax instead of port but that didn’t work either.

We looked at the connection string examples on MySQL site and they specify port as well???

Thank you so much for continuing to help us resolve this.

Options: ReplyQuote


Subject
Views
Written By
Posted
959
April 27, 2016 02:46PM
Re: SQL Connection Error
479
April 29, 2016 01:10PM
534
May 12, 2016 03:09PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.