|
Posted by Tom on 05/11/07 17:21
"harvey" <harvey.zzz@blueyonzders.com> wrote in message
news:MPG.20aeafd1f4fe2e7d98999a@news-text.blueyonder.co.uk...
> In article <pan.2007.05.11.16.45.46.763570@you.now>, annoyed@you.now
> says...
> > On Fri, 11 May 2007 16:42:23 +0000, harvey wrote:
> >
> > > How do I make PHP create a database for mysql please?
> >
> > query = "create database fred;";
> >
> >
> >
>
> Oh god is it really that simple - this must be my day
> for asking dumb questions.
>
> Thanks for not lauging at me... at least not in public !
If MySQL was already installed, running, and configured in your PHP setup,
then you should be fine. If you see permission errors though, you might need
to check up on the permission settings in your MySQL setup.
If you do need to, I'd check the MySQL documentation
(http://dev.mysql.com/doc/) on "user account management" to make sure your
username and/or network location (IP address, localhost, etc.) are
configured for access.
Tom
--
Newsguy.com
90+ Days Retention
Higher levels of article completion
Broader newsgroups coverage
Navigation:
[Reply to this message]
|