Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trial![](https://ecs-static.teamtreehouse.com/assets/views/marketing/shared/community-banner-white-47072046c51352fe6a69f5e691ff5700b28bb11d45197d7bdf066d9ea3f72d0c.webp)
![Jeff Busch](https://uploads.teamtreehouse.com/production/profile-photos/306482/micro_Ben_Franklin_510_copy_02.jpg)
Jeff Busch
19,287 PointsCan't enter SQL commands phpMyAdmin
Hi,
I'm using Debian(jessie). I created a database(Cars) using phpMyAdmin's Create database function. I'm following along a book "The Joy of php". After the table is created the author wants to create a table (INVENTORY) using SQL commands. Well, phpMyAdmin will not let me enter any text in the SQL query text area. I created the table using the Create table function(buttons). If I click on the INVENTORY table in the left window-pane or the tab above I get the following error message:
Error
SELECT 'prefs' FROM 'phpmyadmin' . 'pma__table_uiprefs' WHERE 'username' = 'jeff' AND 'db_name' = 'Cars' AND 'table_name' = 'INVENTORY'
MySQL said:
#1146 - Table 'phpmyadmin.pma__table_uiprefs'
doesn't exist
If I click on columns under INVENTORY or the Structure tab above I can view the table and columns. Also when I click on the SQL tab I can view the table columns in the right-hand pane and the number 1 appears in the SQL command text field. If more information is needed please let me know.
Thanks, Jeff
2 Answers
![Jeff Busch](https://uploads.teamtreehouse.com/production/profile-photos/306482/micro_Ben_Franklin_510_copy_02.jpg)
Jeff Busch
19,287 PointsHi Jeremy,
I believe I am working in Cars database. Here is a screen-shot: phpMyAdmin
![Jeremy Germenis](https://uploads.teamtreehouse.com/production/profile-photos/17095/micro_10195_10202366009765917_507993599_n.jpg)
Jeremy Germenis
29,854 PointsLooks like your trying to work within phpmyadmin's database. You need to switch to your cars database you created.