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

Database

 
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 
DisIsHoody wrote:
@jschell: In response to item 2, how can I check this?


Myself I use telnet (client). If you do not have this installed already then it already in the OS (windows) just go the "control panel" -> "Programs and Features" -> "Turn Windows features on or off" and then look for "Telnet Client".

You run telnet with the following command in a console window.

telnet <host> <port>


All you care about is whether it connects or not. If it connects you get a blank screen. If it fails, which can take some time (or not) you get an error.

You can find the regular ip of your computer by running the following command (windows) in a console window.

ipconfig


Both of the databases you cited use port 3306 by default.

So using the above the following three commands should tell you what is going on.

telnet local host 3306
telnet 127.0.0.1 host 3306
telnet <box ip address> host 3306


If all three fail then it means you are using a different port.
If just the localhost one fails then it means you have redirected local host.
If just the first two fail then it means that you have set your database up to bind to your regular ip and not 127.0.0.1.

The above of course makes the assumption that your really are running the database on your local box (and that your test with the GUI tool was valid and was actually connecting to the database on your box and not some database on another box.)
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 
GeneralRe: separate the content of field Pin
Peter Leow23-Dec-13 8:42
professionalPeter Leow23-Dec-13 8:42 
General(Off topic) Pin
OriginalGriff23-Dec-13 8:59
mveOriginalGriff23-Dec-13 8:59 
GeneralRe: (Off topic) Pin
Peter Leow23-Dec-13 9:07
professionalPeter Leow23-Dec-13 9:07 
GeneralRe: (Off topic) Pin
OriginalGriff23-Dec-13 9:10
mveOriginalGriff23-Dec-13 9:10 
GeneralRe: separate the content of field Pin
f,amiri88223-Dec-13 9:09
f,amiri88223-Dec-13 9:09 
AnswerRe: separate the content of field Pin
Peter Leow23-Dec-13 9:24
professionalPeter Leow23-Dec-13 9:24 
GeneralRe: separate the content of field Pin
f,amiri88223-Dec-13 20:56
f,amiri88223-Dec-13 20:56 
GeneralRe: separate the content of field Pin
Peter Leow23-Dec-13 22:43
professionalPeter Leow23-Dec-13 22:43 
GeneralRe: separate the content of field Pin
f,amiri88224-Dec-13 1:33
f,amiri88224-Dec-13 1:33 
GeneralRe: separate the content of field Pin
f,amiri88224-Dec-13 1:42
f,amiri88224-Dec-13 1:42 
AnswerRe: separate the content of field Pin
Eddy Vluggen23-Dec-13 7:41
professionalEddy Vluggen23-Dec-13 7:41 

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.