Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re^3: Connect to MySQL database (on Ubuntu Server) using Perl

by moritz (Cardinal)
on Jul 25, 2012 at 12:45 UTC ( #983648=note: print w/ replies, xml ) Need Help??


in reply to Re^2: Connect to MySQL database (on Ubuntu Server) using Perl
in thread Connect to MySQL database (on Ubuntu Server) using Perl

Use the real host name, not "hostname". For example "localhost". The documentation of your VPS should tell you what the correct hostname is.


Comment on Re^3: Connect to MySQL database (on Ubuntu Server) using Perl
Re^4: Connect to MySQL database (on Ubuntu Server) using Perl
by liverpaul (Novice) on Jul 25, 2012 at 12:57 UTC

    I just used hostname for my privacy. I used the real hostname in my script.

    When I was setting up my server (for my first time) I gave it a hostname (that's the name I tried in my script). I haven't done all the dns stuff yet. I've tested the site just using the ip address (I've also tested this as my hostname).

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://983648]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (13)
As of 2014-08-22 15:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (159 votes), past polls