Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8694913
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T00:54:07+00:00 2026-06-13T00:54:07+00:00

Yesterday I installed and ran mysql and used it to create a DB called

  • 0

Yesterday I installed and ran mysql and used it to create a DB called “classicmodels”.

I then connected to it using SQLDeveloper and tried to run a query to SELECT * from a table just to make sure things were working. When I did this it thew a “no database selected” error. The solution was to run USE(classicmodels); before trying to run queries and this worked.

Today, I started SQLDeveloper back up again and tried to run a query and the same problem occured. This time, though, when trying to run the same command USE(classicmodels); I get this error:

Error starting at line 1 in command:
USE(classicmodels)
Error at Command Line:1 Column:1
Error report:
SQL Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '(classicmodels)' at line 1

My questions are:

  • Why is this happening?
  • How do I fix it?
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T00:54:08+00:00Added an answer on June 13, 2026 at 12:54 am

    It’s a SQL-syntax error; use it without parentheses like:

    USE classicmodels;
    

    That would not explain why it didn’t work the first time around, but I’m (politely) guessing that you used something different back then.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Yesterday I was working using MySQL installed on my computer. I downloaded xampp, so
So yesterday i installed PHP and MySQL on my development machine. Since then i
Yesterday I installed clang 3.1 and g++ 4.7 and tried compiling a project I'm
I'm using the latest indy snapshot (installed yesterday) and newest SSL libraries. When trying
Yesterday I installed Delphi XE2 using the download option, so I guess the installed
Yesterday my database was connected perfectly. We have installed Windows Server 2008 R2 on
i'm using Elcipse+PyDev and Pyscripter sometimes for Python 2.7 Yesterday i installed PyTables from
yesterday I installed Xcode 4.4. I'm working on a project which needs to run
I installed Ruby and Ruby on Rails yesterday on Vista 32bit using the directions
I've just installed PostgreSQL yesterday and it ran fine with the exact same command:

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.