Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
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")

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 chanting in the Monastery: (15)
As of 2016-06-28 17:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (360 votes). Check out past polls.