Click here to Skip to main content
15,878,809 members
Home / Discussions / Database
   

Database

 
QuestionExport data in SQL 2008 Pin
vkEE11-Jul-13 9:05
vkEE11-Jul-13 9:05 
AnswerRe: Export data in SQL 2008 Pin
Richard Deeming11-Jul-13 10:40
mveRichard Deeming11-Jul-13 10:40 
Questionbcp command in sql 2008 Pin
vkEE11-Jul-13 6:45
vkEE11-Jul-13 6:45 
AnswerRe: bcp command in sql 2008 Pin
NickPace11-Jul-13 7:10
NickPace11-Jul-13 7:10 
AnswerRe: bcp command in sql 2008 Pin
NickPace11-Jul-13 7:24
NickPace11-Jul-13 7:24 
GeneralRe: bcp command in sql 2008 Pin
vkEE11-Jul-13 8:07
vkEE11-Jul-13 8:07 
GeneralRe: bcp command in sql 2008 Pin
NickPace11-Jul-13 9:23
NickPace11-Jul-13 9:23 
QuestionWhat will be the connection string --- Please read the entire question first Pin
Biplob Singha Shee11-Jul-13 3:04
Biplob Singha Shee11-Jul-13 3:04 
Hi all,

I have posted the same question some time ago... but I didn't get any solution. Please read below first...

I want to connect a MySql Database.

Suppose.....

Database Name is mydb
Database located on PC-1 (IP- 192.168.0.10)
PC-1 user id = abc
PC-1 password= 123
MySQL Server user ID = root
MySQL Server password= mypassword

now what will be the connection string for PC-1 to connect to the database ?

now I want to connect the database(mydb) from another pc (suppose this pc name is PC-2 and the IP is 192.168.0.11)

what will be the connection string for PC-2 to connect the PC-1 database ?

I searched connectionstrings.com[^] and found ...
Standard
SQL
Server=myServerAddress;Database=myDataBase;Uid=myUsername;Pwd=myPassword;

and
Specifying TCP port
SQL
Server=myServerAddress;Port=1234;Database=myDataBase;Uid=myUsername;
Pwd=myPassword;


but nowhere found if the server pc (PC-1) is protected by user id and password. In this case what should I do ?

I Tried both the above connection string. They are Ok for PC-1 to connect its own database (localhost) but when I tried to connect the database from PC-2, I got the error

Quote:
Host '192.168.0.11' is not allowed to
connect to this server

<big>Can anybody help me ?</big>
AnswerRe: What will be the connection string --- Please read the entire question first Pin
Eddy Vluggen11-Jul-13 5:02
professionalEddy Vluggen11-Jul-13 5:02 
AnswerRe: What will be the connection string --- Please read the entire question first Pin
jschell11-Jul-13 9:08
jschell11-Jul-13 9:08 
QuestionConnection String of a MySql Database from another computer via LAN Pin
Biplob Singha Shee11-Jul-13 0:53
Biplob Singha Shee11-Jul-13 0:53 
AnswerRe: Connection String of a MySql Database from another computer via LAN Pin
Garth J Lancaster11-Jul-13 1:13
professionalGarth J Lancaster11-Jul-13 1:13 
GeneralRe: Connection String of a MySql Database from another computer via LAN Pin
Biplob Singha Shee11-Jul-13 1:29
Biplob Singha Shee11-Jul-13 1:29 
GeneralRe: Connection String of a MySql Database from another computer via LAN Pin
Garth J Lancaster11-Jul-13 1:44
professionalGarth J Lancaster11-Jul-13 1:44 
GeneralRe: Connection String of a MySql Database from another computer via LAN Pin
Biplob Singha Shee11-Jul-13 1:51
Biplob Singha Shee11-Jul-13 1:51 
GeneralRe: Connection String of a MySql Database from another computer via LAN Pin
Garth J Lancaster11-Jul-13 1:55
professionalGarth J Lancaster11-Jul-13 1:55 
GeneralRe: Connection String of a MySql Database from another computer via LAN Pin
Biplob Singha Shee11-Jul-13 2:01
Biplob Singha Shee11-Jul-13 2:01 
Questiondatabase Pin
Member 1015018110-Jul-13 18:13
Member 1015018110-Jul-13 18:13 
AnswerRe: database Pin
Mycroft Holmes10-Jul-13 18:25
professionalMycroft Holmes10-Jul-13 18:25 
AnswerRe: database Pin
RedDk12-Jul-13 11:40
RedDk12-Jul-13 11:40 
AnswerRe: database Pin
berrymaria16-Jul-13 16:33
berrymaria16-Jul-13 16:33 
QuestionSSDT Install fail Pin
dharmaa.m10-Jul-13 2:41
dharmaa.m10-Jul-13 2:41 
QuestionKeeping Production DB Up To Date Pin
Kevin Marois9-Jul-13 12:55
professionalKevin Marois9-Jul-13 12:55 
AnswerRe: Keeping Production DB Up To Date Pin
Garth J Lancaster9-Jul-13 13:25
professionalGarth J Lancaster9-Jul-13 13:25 
GeneralRe: Keeping Production DB Up To Date Pin
Kevin Marois9-Jul-13 13:32
professionalKevin Marois9-Jul-13 13:32 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.