how to install on shared MySql database (5 posts)

  1. olandesina
    Posted 7 years ago #

    Hi everyone,

    I am quite new to wordpress. I have installed it before, but with a one click install process offered by my host.

    Now I have to install WP on another host that doesn't have a 1 click install facility. Also the problem is that i will have to use an existing database (not specifically created for this wordpress installation). Is it possible to install wordpress in this situation? Do I risk to mess up the existing database informations?

    Any advice?


  2. Jeremy Clark
    Posted 7 years ago #

    Your other database should be fine since wordpress creates all it's tables with the wp- prefix by default and you can even change that to something completely off the wall in your wp-config file. Just look through your existing database and look for any tables beginning with wp- ( I highly doubt there is any)

  3. trejder
    Posted 6 years ago #


    There are many information in support and other sites about installing WP into existing database without creating new one for it. And it is quite easy - all one has to do is to correctly edit wp-config.php file.

    But what about if my (anyone else) host does not allow of creating new users? Neither to giving them access to database(s)?

    I'm stuck with something like that. I can't create neither new database nor new user in my phpMyAdmin so I entered into wp-config all my current information (host, existing database and existing user login and password) I use to login to MySQL. And it unfortunatelly does not work. I see standard "Error" message saying that installation script can't login to database and I fear that here is the point where my journey with WordPress ends. Before it actually has even started! :(

    I've spent hours digging througs support, guide, forums and found nothing for such...

    Any tip or idea what to do in such situation?

    Best regards,

  4. Samuel B
    Posted 6 years ago #

    from what you describe you did it correctly. Does your user have full privileges? I assure you wordpress can be installed to a database that already exists with a user that already exists as long as the table prefix is different from current tables in database.

  5. trejder
    Posted 6 years ago #

    The problem was so stupid, that I'm even ashamed of talking about it! :) I made a typo in password. No all seems to be fine. Except that I can't force WP to switch to my (Polish) language. But this is off-topic here...

Topic Closed

This topic has been closed to new replies.

About this Topic