Title: database connection
Last modified: August 18, 2016

---

# database connection

 *  ceci
 * [22 years, 4 months ago](https://wordpress.org/support/topic/database-connection/)
 * i’ve made sure my database stuff is correct but it isn’t working! this is the
   pg i get to
    We’re having a little trouble selecting the proper database for 
   WordPress. Are you sure it exists? Your database name is currently specified 
   as ceci_wordpress. Is this correct? On some systems the name of your database
   is prefixed with your username, so it would be like username_wordpress. Could
   that be the problem? WordPress Support Forums

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

 *  Thread Starter Anonymous
 * [22 years, 4 months ago](https://wordpress.org/support/topic/database-connection/#post-32106)
 * um.. i got it but now i have this error
    Warning: Invalid argument supplied for
   foreach() in /home/ceci/public_html/wp-admin/install-config.php on line 121 Warning:
   fclose(): supplied argument is not a valid stream resource in /home/ceci/public_html/
   wp-admin/install-config.php on line 142 Warning: chmod(): No such file or directory
   in /home/ceci/public_html/wp-admin/install-config.php on line 143
 *  [NuclearMoose](https://wordpress.org/support/users/nuclearmoose/)
 * (@nuclearmoose)
 * [22 years, 4 months ago](https://wordpress.org/support/topic/database-connection/#post-32111)
 * What version of WP are you running?
 *  Thread Starter Anonymous
 * [22 years, 4 months ago](https://wordpress.org/support/topic/database-connection/#post-32115)
 * 1.0.1
    i’ve gotten everything now!! but another prob: a parse error in index.
   php on line 155 i’ve checked and that happens to be: “</html>” i don’t quite 
   get what’s wrong with that line though
 *  [antifuse](https://wordpress.org/support/users/antifuse/)
 * (@antifuse)
 * [22 years, 4 months ago](https://wordpress.org/support/topic/database-connection/#post-32159)
 * Chances are it’s an earlier line… check for any php statements with missing semi-
   colons… Or if you save your index.php as index.phps on your site and show us 
   where it is, somebody can take a look at it and help you out.
 *  Thread Starter Anonymous
 * [22 years, 4 months ago](https://wordpress.org/support/topic/database-connection/#post-32213)
 * here’s what i have but it still doesn’t work?
    <?php /* Don’t remove these lines.*/
   $blog = 1; require(‘wp-blog-header.php’); // Uncomment the next line if you want
   to track blog updates from weblogs.com //include_once(ABSPATH.WPINC.’/links-update-
   xml.php’); ?> <!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “
   [http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”&gt](http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”&gt);
   <html xmlns=”[http://www.w3.org/1999/xhtml”&gt](http://www.w3.org/1999/xhtml”&gt);
   <head> <TITLE> </TITLE> <link rel=”stylesheet” href=”css.css” type=”text/css”
   > <META HTTP-EQUIV=”Pragma” CONTENT=”no-cache”> <META NAME=”Generator” CONTENT
   =”Microsoft FrontPage 5.0″> <?php comments_popup_script() ?> </head> <body STYLE
   =”background-color:transparent” topmargin=”0″ leftmargin=”0″ bgcolor=”#F7EBF7″
   > <div id=”rap”> <h1 id=”header”>” title=”<?php bloginfo(‘name’); ?>”><?php bloginfo(‘
   name’); ?></h1> <div id=”content”> <?php if ($posts) { foreach ($posts as $post){
   start_wp(); ?> <?php the_date(”,'<h2>’,'</h2>’); ?> <div class=”post”> <h3 class
   =”storytitle” id=”post-<?php the_ID(); ?>”>” rel=”bookmark” title=”Permanent 
   Link: <?php the_title(); ?>”><?php the_title(); ?></h3> <div class=”meta”>Filed
   under: <?php the_category() ?> — <?php the_author() ?> @ <?php the_time() ?> 
   <?php edit_post_link(); ?></div> <div class=”storycontent”> <?php the_content();?
   > </div> <div class=”feedback”> <?php link_pages(‘Pages: ‘, ‘‘, ‘number’); ?>
   <?php comments_popup_link(‘Comments (0)’, ‘Comments (1)’, ‘Comments (%)’); ?>
   </div> <!– <?php trackback_rdf(); ?> –> <?php include(ABSPATH . ‘wp-comments.
   php’); ?> </div> </div> </div> </div> <p class=”credit”><!–<?php echo $wpdb->
   querycount; ?> queries.–> <?php timer_stop(1); ?> || <cite>Powered by [**WordPress**](http://wordpress.org)
   </cite> </body> </html>

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

The topic ‘database connection’ is closed to new replies.

 * In: [Installing WordPress](https://wordpress.org/support/forum/installation/)
 * 5 replies
 * 3 participants
 * Last reply from: Anonymous
 * Last activity: [22 years, 4 months ago](https://wordpress.org/support/topic/database-connection/#post-32213)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
