0
votes
1answer
21 views

After Deploy/Publishing WCF server doesn't work

I have a WCF service that when I check in the WCF Test Client it works fine but after I deployed the service to a remote server(my college server) It doesn't work . I ran it on a wp8 app but it didn't ...
0
votes
0answers
54 views

How To Set Entity Framework's ConnectionString's Settings for other computers

I'm developing a program for a customer who has a mysql server. I dont have the mysql server information because of security then I have been developing it on mysql localhost.. So I sent the program ...
1
vote
1answer
24 views

How to set up the FOUND_ROWS flag?

I'm using Entity Framework 5, MySQL 5.6 and MySQLConnector 6.6.5. I would like to set up the FOUND_ROWS flag in my Entity Framework connection string. I tried the following configuration. ... ...
0
votes
1answer
34 views

RDS Connection String in PHP

I'm frantically beginning the move from Xeround to Amazon RDS. I've been unable to connect to RDS via PHP. I've tried a number of variations of the following: $connection = ...
0
votes
3answers
93 views

Good ways to connect to database with C# [closed]

Good day to all, I'm new to programming and I'm building like a simple program. Just buttons and display the results. This is how I connect to database. I used MySQL.data.dll and add it as reference. ...
1
vote
1answer
194 views

Can not connect to local database with c# System.Data.SqlClient

I have some problems with connecting to my local DB using c# System.Data.SqlClient. Information: DB parameters: Name:baza Host:localhost Instance:baza Port:3306 Schema:world My connection string: ...
0
votes
0answers
54 views

How can I create local connection string with any folder path in MySql Server 5.5 & java?

I can do all manipulation with mysql server database, tables in java, with connection string below: String url = "jdbc:mysql://localhost:3306/study"; String driver = "com.mysql.jdbc.Driver"; Now I ...
0
votes
1answer
390 views

asp.net / MySQL: Access denied for user ''@'localhost' (using password: NO)

I'm a web dev rookie and I'm hoping someone with more experience can help sort this out. I was ambushed by a MySQL upgrade. Background: I have two XP PCs (let's ambitiously call them "web server" ...
0
votes
1answer
77 views

ASP.Net Unable to find .Net Framework Provider

During the process of uploading a site to a Godaddy server, the datagrid using MySql is causing problems. The errors are outputted below along with the web config. The issue seems to be that the ...
2
votes
1answer
152 views

Cannot connect to SQL server AppHarbor

<entityFramework> <defaultConnectionFactory type="System.Data.Entity.Infrastructure.LocalDbConnectionFactory, EntityFramework"> <parameters> <parameter ...
0
votes
2answers
129 views

Visual Basic MySql Connection string

I am using MySQL connection string to connect to a MySQL database in my current project. Server=127.0.0.1;Uid=root;Pwd=12345;Database=test; But the connection throws ecxeption when one of the ...
2
votes
1answer
60 views

How to convert Char field to datetime field in mysql?

I have datetime stored in a table as Char(30) and i want to convert them into mysql standred datetime format. so I tried this SELECT STR_TO_DATE(next_attempt, '%Y-%m-%d %T') as date FROM Table ...
0
votes
1answer
27 views

Mysql database connection details never work in included fle

Whenever I use a seperate file to store DB connection details: <? $username = "xxx"; $password = "xxx"; $database = "xxx"; ?> To use in my connection string, I can never get it to work. I ...
0
votes
1answer
59 views

Login failed for user 'ndt', help me decipher the stack trace please

I am working with someone else's code. Trying to get it sorted out. We re-imaged our server and uploaded fresh clean files. (identical to the previous ones, only these are not infected) I also ...
0
votes
2answers
137 views

Entity framework: error in calling save changes

I am working with entity framework to connect MySql. I have created a entity data modal with the MySql database, it generate the connection string in web.config automatically which is as follows in my ...
-1
votes
2answers
391 views

Need Sugestion: database connection class to connect to mysql using C#

First of all, I apologize for my bad English. I'm really new in the C# world and I've using PHP before. I've created database connection class just to open, close, and make a connection string. I ...
1
vote
1answer
269 views

remote connect to mysql database in cpanel

I have an app in C# and i want to remote connect to mysql database in cpanel my code is : static string MyConString = SERVER= remoteDomin.com;DATABASE=XXX;UID=XXX;PASSWORD=XXX;"; MySqlConnection ...
0
votes
1answer
564 views

How to find connection string from a phpMyAdmin database?

I want to connect from java, to a database which i am currently managing from phpMyAdmin. I do not own the server which the database runs. however, i want to find the connection string of that ...
1
vote
4answers
266 views

C# with MySQL connector - access denied

I have a remote hosted website with a MySQL database. I am trying to access that database from a small C# program. What I've tried: Referencing the MySQL DLL in the project Using MySQL connection ...
0
votes
1answer
117 views

Connect to Mysql database from client using Mysql Connector [closed]

I want to make connection between my database on the server,that located on the internet and my application that runs on some client. My application based on .Net framework and i using MySql Connector ...
2
votes
4answers
243 views

Why should I use connection pooling?

In my C# application I connect to a MySQL database and run 10,000 queries. If I keep a connection to my database, these queries take roughly 14 seconds. However, if I rely on the connection pooling my ...
1
vote
1answer
606 views

Google Apps Script - JDBC Connection Failed

I am attempting to open a connection from a Google Apps Spreadsheet without success, using example code from the Google Apps Developers reference (https://developers.google.com/apps-script/jdbc) ...
1
vote
0answers
183 views

C# Mysql - The given key was not present in the dictionary

I am trying to execute the following code: _cmd.CommandText = "SELECT * FROM category"; MySqlDataReader ret; _cmd.Connection = _con; _con.Open(); ret = ...
0
votes
1answer
45 views

Invalid keyword Port

connection string : <add name="connectionstringname" connectionString="server=XX.XX.XXX.XXX; port=XXXX; Database=databaseName; user id=UserID; password=password;" ...
0
votes
2answers
420 views

PHP - Error: No database selected - reading from a database issue

I figured out hot to get contected to my database in line one I dont get a connection error anymore. But not Im getting an error that says no database selected. What could the issues be? Is my code ...
0
votes
2answers
97 views

Can't Connect to MySQL DB

I'm trying to conntect to a mysql database for the first time. Can you see what's not working correctly below? I get an error on line 3. What would my server address look like from Godaddy to my ...
0
votes
5answers
953 views

MySql Connection string on GoDaddy (remote server) [closed]

I need to connect to a database on godaddy and insert some values. All the code is in place and it works on localhost. However I do not know how to connect to the online database. I chose the remote ...
4
votes
1answer
675 views

How to Yii app protected connection string?

I'm hosting a Yii app on shared-host with some my friend, and keep database in private MySQL server. As you knew, database info can be found so very easy in protected\config\main.php by another host ...
0
votes
1answer
613 views

Connecting mysql tables on localhost with different port numbers

I have 2 tables one is in local database and other one is on remote server. I use port forwarding in C# to get my ssh remote connection to the localhost:3306 my local database is on localhost:3307 ...
0
votes
1answer
446 views

Can't connect to mysql database with ssh client

I want to connect trough SSH channel to mysql database on the server. I have downloaded this SSH.Net library. This is what I have tried and I thought it will work after my secured connection has ...
1
vote
1answer
2k views

SSH connection to MySQL using SSH.NET library

I was given a link to use this library for connection through SSH connection to a MySQL database with C#. Here is the LINK to the library as a lot of you will find this interesting as you don't need ...
2
votes
2answers
1k views

How to connect to mysql from C# over SSH

How can I connect to a mysql database trough C#, This is my connection string now: connectionString="server=localhost;port=3306;user id=root;Password=*****;database=Data" ...
0
votes
1answer
806 views

Connection strings for MySQL and SQLite with ADO.NET

I would like to use F# to connect to databases other than SQL Server using the same code as in : http://msdn.microsoft.com/en-us/library/hh361033(v=vs.110).aspx I assume I need the ADO.Net connector ...
0
votes
1answer
41 views

Is this a secure method of providing service for database applications?

WinFormsApp Login passes information to .php (server based) Login (provided credentials are correct) to DB to retrieve Decryption Key. WinFormsApp then uses Decryption key on Hardcoded encrypted ...
0
votes
1answer
448 views

MVC3 Read-Only MySql Connection String

I'm currently working in Visual Studio 2010. MVC3 project. I'm new to .NET MVC and the only experience I have so far is with an MVC3 EF Code First project (MSSQL DB). I'm looking to create another ...
0
votes
1answer
818 views

Connection string for MySQL database on webserver having shared IP address - C#

I am new to MySQL database, I want to Get or Set data into my database by using my C# winform application, therefore I need to know the required connection string for my database present on a ...
4
votes
1answer
4k views

Right way to get username and password from connection string? [duplicate]

I have a connection string like this: "SERVER=localhost;DATABASE=tree;UID=root;PASSWORD=branch;Min Pool Size = 0;Max Pool Size=200" How do I get the various database parameters out of it? I can get ...
2
votes
3answers
182 views

Understanding MySQL password

Probably I cant get more dumb, but seriously this is the first time I had to think about it(for the first time the single user app goes multi-user from multiple locations). For what purpose is a ...
3
votes
2answers
3k views

Creating Dabatase Model on ASP.NET MVC with MYSQL

I'm using ASP.NET C# with database MYSQL, I follow this step on creating a database model with Entity Data Model Wizard ...
0
votes
0answers
139 views

read registry values and use it as the connection string in c# to connect to mysql

I have been trying to connect to mysql database but i have a strange problem. Before i could connect to a mysql database, i need to read a value in the registry(server, database, user, password). I ...
1
vote
5answers
1k views

How can I protect a mySQL connection string in PHP?

I know the rule: never hardcode your password, and I've seen this question here which explains what to with Java and mySQL, but I don't know what to do for PHP and mySQL. The current connection ...
0
votes
2answers
68 views

MySQL : Connect locally using Java

I have a MySQL database and a java application using it thru JDBC. I want to distribute the application. I copied the DB to my application folder. I also have myconnectionj jar file included in the ...
0
votes
1answer
476 views

Retreiving mysql connection strings from app.config?

How can I call the connection string by name from an app.config file in my vb.net program?
0
votes
3answers
90 views

Switching between a test database and production database?

What is the best way to easily switch from a test database to a production database in vb.net and MySql, when all MySql connection strings are currently hard coded?
1
vote
2answers
478 views

Error connecting to Amazon EC2 MySQL from C#

I have an AWS EC2 instance running. I've tried to make a connection to my MySQL like this in C# MySqlConnection l_DBConn = new MySqlConnection(); l_DBConn.ConnectionString = ...
1
vote
2answers
4k views

Connection String for MySQL, VS2010 Pro, ASP .NET MVC3

Background I'm following this tutorial, but instead of using SQL Compact, I'd like to use MySQL. I'm having trouble with the connection string needed for this connection. I've installed MySQL ...
0
votes
1answer
3k views

MySQL JDBC Connection URL Params in Tomcat Context

Someone could point me to some resources on what the list of parameters appended after this JDBC URL actually means? Thanks! <Context> <Resource name="jdbc/DB" auth="Container" ...
3
votes
1answer
770 views

Connecting to MySql database in C#

I have a Visual Studio 2008 C# .NET 3.5 application where I am trying to connect to a locally hosted MySQL 5.1.53 database using System.Data.Odbc. using (System.Data.Odbc.OdbcConnection c = new ...
0
votes
1answer
283 views

Connection String to connect to mysql setup under Ubuntu in Amazon EC2

Hihi, I have setup an Ubuntu instance in Amazon EC2, and I have setup MySQL under Ubuntu. Would like to ask, how can I connect my external asp.net application to this MySQL database? What should be ...
2
votes
1answer
1k views

Visual Studio 2010's generate model from database gives error message when trying to connect to DB with MySQL ADO.NET drivers, how to fix?

I am trying to generate my ADO.NET entity model from my MySQL database using the official Connector/Net 6.4.3 ADO.NET drivers from MySQL. However, after I type in my DB-info, and click next (Test ...

1 2
15 30 50 per page