CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Beginner: Re: [FishMonger] Need help writing a script that interacts with a MySQL DB: Edit Log



MDTech.us_MAN
Novice

Oct 20, 2012, 7:04 PM


Views: 6924
Re: [FishMonger] Need help writing a script that interacts with a MySQL DB


In Reply To
Did you try connecting from the command line using the same params as in the script? If that fails, then there is no reason to expect it to work in the Perl script. Once you're able to connect from the command line, then we can work on using those params in the script.


I guess the connection is successful.
Here is what is I get in Debian:

Code
root@MDTech:~# mysql -h instance28854.db.xeround.com -P 18847 -u maxwell175 -p 
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is *num_removed_by_me*
Server version: 5.1.42 Source distribution

Copyright (c) 2000, 2011, Oracle and/or its affiliates. All rights reserved.

Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

mysql>


Maxwell.


(This post was edited by MDTech.us_MAN on Oct 20, 2012, 7:05 PM)


Edit Log:
Post edited by MDTech.us_MAN (Novice) on Oct 20, 2012, 7:05 PM


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives