Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (3)
As of 2017-08-19 17:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Who is your favorite scientist and why?



























    Results (312 votes). Check out past polls.

    Notices?