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 287175
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T05:42:08+00:00 2026-05-12T05:42:08+00:00

This question is based on this thread . I run unsuccessfully sudo mysql \.

  • 0

This question is based on this thread.

I run unsuccessfully

sudo mysql 
\. /users/cs/SO_db/posts.sql 

I get the error

ERROR 1146 (42S02): Table 'personal.posts' doesn't exist

MySQL’s manual says

A five-character SQLSTATE value
(’42S02′). The values are specified by
ANSI SQL and ODBC and are more
standardized. Not all MySQL error
numbers are mapped to SQLSTATE error
codes. The value ‘HY000’ (general
error) is used for unmapped errors.

and

Error: 1146 SQLSTATE: 42S02
(ER_NO_SUCH_TABLE)

Message: Table ‘%s.%s’ doesn’t exist

How can you solve the error message?

  • 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-05-12T05:42:08+00:00Added an answer on May 12, 2026 at 5:42 am

    As I mentioned in the post you referenced, you NEED to create the tables first.
    Peek at the XML or the SQL output on what columns you need. e.g. here is a table that can hold the output from badges.xml (I don’t have the others available right now..)

    CREATE TABLE `badges` (
      `Id` int(11) NOT NULL default '0',
      `UserId` int(11) not NULL,
      `Date` datetime not  NULL,
      `Name` varchar(32) not NULL,
      PRIMARY KEY  (`Id`),
      KEY `Date` (`Date`),
      KEY `UserId` (`UserId`)
    ) ;
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 220k
  • Answers 220k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer You could write your logic in php and schedule your… May 12, 2026 at 11:54 pm
  • Editorial Team
    Editorial Team added an answer The fix: Application.xaml.cs class MyApp1 : Application { // ...… May 12, 2026 at 11:54 pm
  • Editorial Team
    Editorial Team added an answer Implement the Delegate method to handle taps on accessory button… May 12, 2026 at 11:54 pm

Related Questions

This question is based on this thread . My .gitmodules is at my Home
How can you see the assigned value of the following SESSION variable? I run
This question is based on this thread . I am interested in how Git
This question is based on this thread . The code function man() { man

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

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.