Click here to Skip to main content
15,887,214 members
Home / Discussions / Database
   

Database

 
GeneralRe: Not work correctly Pin
Richard MacCutchan3-Jan-14 1:11
mveRichard MacCutchan3-Jan-14 1:11 
GeneralRe: Not work correctly Pin
Simon_Whale3-Jan-14 1:53
Simon_Whale3-Jan-14 1:53 
GeneralRe: Not work correctly Pin
Member 100045983-Jan-14 3:57
Member 100045983-Jan-14 3:57 
SuggestionRe: Not work correctly Pin
Shameel6-Jan-14 3:40
professionalShameel6-Jan-14 3:40 
Questioninsert information of filed to another fielads Pin
f,amiri88227-Dec-13 9:11
f,amiri88227-Dec-13 9:11 
AnswerRe: insert information of filed to another fielads Pin
Andrius Leonavicius27-Dec-13 12:23
professionalAndrius Leonavicius27-Dec-13 12:23 
AnswerRe: insert information of filed to another fielads Pin
Shameel2-Jan-14 4:09
professionalShameel2-Jan-14 4:09 
QuestionMySql Connection String 'localhost' not working Pin
Dominick Marciano23-Dec-13 21:17
professionalDominick Marciano23-Dec-13 21: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 6:59
professionalEddy Vluggen24-Dec-13 6:59 
AnswerRe: MySql Connection String 'localhost' not working Pin
jschell24-Dec-13 11:06
jschell24-Dec-13 11:06 
AnswerRe: MySql Connection String 'localhost' not working Pin
Eddy Vluggen24-Dec-13 11:15
professionalEddy Vluggen24-Dec-13 11:15 
GeneralRe: MySql Connection String 'localhost' not working Pin
jschell25-Dec-13 7:57
jschell25-Dec-13 7:57 
GeneralRe: MySql Connection String 'localhost' not working Pin
Eddy Vluggen25-Dec-13 23:17
professionalEddy Vluggen25-Dec-13 23:17 
AnswerRe: MySql Connection String 'localhost' not working Pin
jschell24-Dec-13 11:10
jschell24-Dec-13 11:10 
AnswerRe: MySql Connection String 'localhost' not working Pin
SarveshShukla25-Dec-13 19:09
SarveshShukla25-Dec-13 19:09 
AnswerRe: MySql Connection String 'localhost' not working Pin
Dominick Marciano25-Dec-13 19:20
professionalDominick Marciano25-Dec-13 19:20 
SuggestionRe: MySql Connection String 'localhost' not working Pin
thatraja25-Dec-13 20:31
professionalthatraja25-Dec-13 20:31 
GeneralRe: MySql Connection String 'localhost' not working Pin
Eddy Vluggen25-Dec-13 23:17
professionalEddy Vluggen25-Dec-13 23:17 
GeneralRe: MySql Connection String 'localhost' not working Pin
jschell26-Dec-13 6:18
jschell26-Dec-13 6:18 
QuestionTutorials for database Pin
tgsb23-Dec-13 19:22
tgsb23-Dec-13 19:22 
AnswerRe: Tutorials for database Pin
Dominick Marciano23-Dec-13 21:26
professionalDominick Marciano23-Dec-13 21:26 
AnswerRe: Tutorials for database Pin
thatraja25-Dec-13 20:13
professionalthatraja25-Dec-13 20:13 
Questionseparate the content of field Pin
f,amiri88223-Dec-13 6:33
f,amiri88223-Dec-13 6:33 
QuestionRe: separate the content of field Pin
Peter Leow23-Dec-13 7:16
professionalPeter Leow23-Dec-13 7:16 
AnswerRe: separate the content of field Pin
f,amiri88223-Dec-13 8:30
f,amiri88223-Dec-13 8: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.