Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Re: Problems with MySQL - "No Database Selected"

by ninja-joe (Monk)
on May 09, 2002 at 21:06 UTC ( #165515=note: print w/ replies, xml ) Need Help??


in reply to Re: Problems with MySQL - "No Database Selected"
in thread Problems with MySQL - "No Database Selected"

I did this and it flagged an SQL syntax error: Did I add it to the right spot?

$sth = $dbh->prepare("CONNECT default; SELECT section, content FROM we +bdata WHERE section=home")


Comment on Re: Re: Problems with MySQL - "No Database Selected"
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (13)
As of 2014-07-30 12:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (231 votes), past polls