Re: Cannot Use Database
| From: | Jason Wong | Date: | Thu, 11 Dec 2003 00:34:59 +0000 |
| Subject: | Re: Cannot Use Database | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-172410@lists.php.net to get a copy of this message | ||
On Thursday 11 December 2003 06:17, Stephen Craton wrote:
> I am having an issue connecting to a MySQL database. I've made a script
> that installs itself to a MySQL database (creates all the tables and such)
> and then the script uses the tables to store information and whatever else
> it may have to do.
>
> The problem is, the install works just fine,
Are you sure?
> but when I try to access the
> database through the script later on, it outputs the following:
>
> Database error: cannot use database anime-soup_com_-_chatting
AFAIK, you cannot use hyphens in the database name.
--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
------------------------------------------
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
------------------------------------------
/*
I just had a NOSE JOB!!
*/