Title: Database error after install
Last modified: August 18, 2016

---

# Database error after install

 *  [evvo1961](https://wordpress.org/support/users/evvo1961/)
 * (@evvo1961)
 * [19 years, 4 months ago](https://wordpress.org/support/topic/database-error-after-install/)
 * just tried to install wordpress.
 * on loading site i see this error –
 * WordPress database 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”
   at line 1]
    SELECT cat_id, cat_name FROM
 * its where the blogroll would go.
 * any ideas. its a freah install. no content yet…

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [Samuel B](https://wordpress.org/support/users/samboll/)
 * (@samboll)
 * [19 years, 4 months ago](https://wordpress.org/support/topic/database-error-after-install/#post-512377)
 * Your theme is not updated for 2.1. Check the theme’s author site for an updated
   theme or search on here for how to do it yourself.
 *  Thread Starter [evvo1961](https://wordpress.org/support/users/evvo1961/)
 * (@evvo1961)
 * [19 years, 4 months ago](https://wordpress.org/support/topic/database-error-after-install/#post-512383)
 * ok
 * one is it worth running 2.1? i could just uninstall and go with an earlier version
   of wordpress if that sorts it… i only downloaded 2.1 as im just starting to use
   for first time…
 * where is the update info? i put ‘update 2.1’ in the search but nothing there 
   seemed what i wanted to know.
 * i think its this bit of code causing the problem
 * <?php
    $link_cats = $wpdb->get_results(“SELECT cat_id, cat_name FROM $wpdb->linkcategories”);
   foreach ($link_cats as $link_cat) { ?>
 * thanks

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Database error after install’ is closed to new replies.

 * In: [Installing WordPress](https://wordpress.org/support/forum/installation/)
 * 2 replies
 * 2 participants
 * Last reply from: [evvo1961](https://wordpress.org/support/users/evvo1961/)
 * Last activity: [19 years, 4 months ago](https://wordpress.org/support/topic/database-error-after-install/#post-512383)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
