Re: mysql/php query - wrox

From: Date: Mon, 03 Feb 2003 15:19:18 +0000
Subject: Re: mysql/php query - wrox
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-134128@lists.php.net to get a copy of this message
Chris Shiflett" wrote in message: > Your query returns two rows because you have two rows in > the database that match the condition: > > host='localhost' > > -- > Chris ...................................... Chris, I was under the impression that the mysql database had as default user when installed: .............. anonymous root ................ And that the _anonymous_ user could only create a database that began with the word - test. Using the following commands: ........................... C:\WINDOWS\cd c:\mysql\bin C:\mysql-shareware --standalone C:\mysql\bin>mysqladmin CREATE houses Database houses created C:\mysql\bin>mysql Welcome to the mysql monitor... mysql>USE houses Database changed ........................ As it is, I'm reading Meloni's tutorial on mysql/PHP so the question might also apply to others in this PHP ng. Anyway, the database "houses" was created _without_ the word "test" as the anonymous user. Why is this? Thanking you, Tony Ritter

« previous php.general (#134128) next »