Click here to Skip to main content
15,797,908 members
Home / Discussions / Database
   

Database

 
GeneralRe: Not work correctly Pin
Richard MacCutchan3-Jan-14 2:11
mveRichard MacCutchan3-Jan-14 2:11 
GeneralRe: Not work correctly Pin
Simon_Whale3-Jan-14 2:53
Simon_Whale3-Jan-14 2:53 
GeneralRe: Not work correctly Pin
Member 100045983-Jan-14 4:57
Member 100045983-Jan-14 4:57 
SuggestionRe: Not work correctly Pin
Shameel6-Jan-14 4:40
professionalShameel6-Jan-14 4:40 
Questioninsert information of filed to another fielads Pin
f,amiri88227-Dec-13 10:11
f,amiri88227-Dec-13 10:11 
AnswerRe: insert information of filed to another fielads Pin
Andrius Leonavicius27-Dec-13 13:23
professionalAndrius Leonavicius27-Dec-13 13:23 
AnswerRe: insert information of filed to another fielads Pin
Shameel2-Jan-14 5:09
professionalShameel2-Jan-14 5:09 
QuestionMySql Connection String 'localhost' not working Pin
Dominick Marciano23-Dec-13 22:17
professionalDominick Marciano23-Dec-13 22:17 
I have a database application I was designing that I haven't worked on in a while. Recently I started it up to start working on it again and I was getting a connection error when trying to connect to the database. The error message is:

"A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond"

and the connection string is "Server=localhost;Database=medicehr_provider;Uid=root;Pwd=********;"

However if I replace 'localhost' with '127.0.0.1' then my application can connect to the MySql server. I can't figure out why all of a sudden it needs the actual IP address. I checked the hosts file in C:\Windows\System32\Drivers\etc and it does contain an entry for localhost.

Any ideas or suggestions why 'localhost' isn't being recognized and '127.0.0.1' is would be greatly appreciated.
QuestionRe: MySql Connection String 'localhost' not working Pin
Eddy Vluggen24-Dec-13 7:59
professionalEddy Vluggen24-Dec-13 7:59 
AnswerRe: MySql Connection String 'localhost' not working Pin
jschell24-Dec-13 12:06
jschell24-Dec-13 12:06 
AnswerRe: MySql Connection String 'localhost' not working Pin
Eddy Vluggen24-Dec-13 12:15
professionalEddy Vluggen24-Dec-13 12:15 
GeneralRe: MySql Connection String 'localhost' not working Pin
jschell25-Dec-13 8:57
jschell25-Dec-13 8:57 
GeneralRe: MySql Connection String 'localhost' not working Pin
Eddy Vluggen26-Dec-13 0:17
professionalEddy Vluggen26-Dec-13 0:17 
AnswerRe: MySql Connection String 'localhost' not working Pin
jschell24-Dec-13 12:10
jschell24-Dec-13 12:10 
AnswerRe: MySql Connection String 'localhost' not working Pin
SarveshShukla25-Dec-13 20:09
SarveshShukla25-Dec-13 20:09 
AnswerRe: MySql Connection String 'localhost' not working Pin
Dominick Marciano25-Dec-13 20:20
professionalDominick Marciano25-Dec-13 20:20 
SuggestionRe: MySql Connection String 'localhost' not working Pin
thatraja25-Dec-13 21:31
professionalthatraja25-Dec-13 21:31 
GeneralRe: MySql Connection String 'localhost' not working Pin
Eddy Vluggen26-Dec-13 0:17
professionalEddy Vluggen26-Dec-13 0:17 
GeneralRe: MySql Connection String 'localhost' not working Pin
jschell26-Dec-13 7:18
jschell26-Dec-13 7:18 
QuestionTutorials for database Pin
tgsb23-Dec-13 20:22
tgsb23-Dec-13 20:22 
AnswerRe: Tutorials for database Pin
Dominick Marciano23-Dec-13 22:26
professionalDominick Marciano23-Dec-13 22:26 
AnswerRe: Tutorials for database Pin
thatraja25-Dec-13 21:13
professionalthatraja25-Dec-13 21:13 
Questionseparate the content of field Pin
f,amiri88223-Dec-13 7:33
f,amiri88223-Dec-13 7:33 
QuestionRe: separate the content of field Pin
Peter Leow23-Dec-13 8:16
professionalPeter Leow23-Dec-13 8:16 
AnswerRe: separate the content of field Pin
f,amiri88223-Dec-13 9:30
f,amiri88223-Dec-13 9:30 

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.