On Tue, 27 Feb 2001, Chris Hallgren wrote:

> ok here is my problem i have redhat 7 i installed mysql via the rpm and i get the 
>following error 
> 
> mysql> select  chrishallgren;
> ERROR 1054: Unknown column 'chrishallgren' in 'field list'
> mysql> select ' chrishallgren';
> +----------------+
> |  chrishallgren |
> +----------------+
> |  chrishallgren |
> +----------------+
> 1 row in set (0.00 sec)
> 
> for some reason i need a space to select the database is this normal and if not how 
>do i fix it
> 

ehh.. You are not selecting the database there ;)

use <database-name>
is the correct syntax to select a database. MySQL is doing exactly what
it's being told by you :)

by quoting it, it's just saying display me this..

HTH


Atle


---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to