Don't really understand your question, however:
1) to select a database, you use the keyword 'use':
mysql>use chrishallgren;
2) what you are doing is:
mysql>select chrishallgren;
This is a select statement, it's looking for data.
It thinks chrishallgren is a column in a table in a database.
mysql>select ' chrishallgren';
This works because mysql RETURNS a column with the
value ' chrishallgren' in it.
maybe that helps.
---------------------
Johnny Withers
[EMAIL PROTECTED]
p. 601.853.0211
c. 601.954.9133
-----Original Message-----
From: Chris Hallgren [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 27, 2001 1:47 PM
To: [EMAIL PROTECTED]
Subject: Problem with mysql
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
---------------------------------------------------------------------
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