• Resolved fanaticjim

    (@fanaticjim)


    Hello,

    I replaced the code in the wp-config.php file and the .htaccess file with the code given to me on the Create a Network of WordPress Sites.

    When I tried to go to my blof site I received the following message; Error establishing a database connection

    When I copied the Rewrite lines of code to the .htaccess file I didn’t delete the lines above the Rewrite code that read: # BEGIN WordPress <IFModule mod_rewrite.c> and at the bottom I didn’t delete the </IfModule>

    # END WordPress

    Should I have deleted those lines of code?

    Thanks for your help,
    Jim

Viewing 8 replies - 1 through 8 (of 8 total)
  • That’s not an htaccess related error. That’s a db error. It means it cannot find the new tables for the new blog in the db.

    Usually it’s because the db user does not have ALL privileges.

    Thread Starter fanaticjim

    (@fanaticjim)

    By golly, that is your name on the front of the WordPress All-In-One for Dummies book. I’ll say this, I really like the book. It has a whole lot of helpful information in it. I just need to get my mind wrapped around this multisite stuff.

    So, is getting ALL privileges for my db something I need to take up with my server provider or do I need to look for something in the book that will help?

    Thanks
    Jim

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    If you have access to some sort of SQL admin tool (like via Cpanel) you should be able to do it yourself. If not, ask your host ??

    Yeah, it;s a bit of a head warp but really fun. ??

    And yes, the db user is a host issue. Did you use a one-click install to set up wordpress?

    Thread Starter fanaticjim

    (@fanaticjim)

    I’m pretty sure I used the one-click install.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    Ugh. Yeah, they tend to have stupid permissions issues with database tables :/

    Can you make a new db user, give them all permissions, assign them to the db and change that line (db_user) in your config file? ??

    Thread Starter fanaticjim

    (@fanaticjim)

    I’m going to go ahead and mark this as resolved. I’m doing some work on my server, subdomains, and MYSql DBs. Going to try again from the beginning.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘.htaccess code replaced not working’ is closed to new replies.