• When I try to install wordpress on my linux server, I type wp-admin/install.php and want to set the database. But I cannot connect to the localhost MySQL database.

    Besides, I cannot hold the root access to my Linux server. Does it matter to install wordpress without root permission? Can I install MySQL in my own user account?

Viewing 4 replies - 1 through 4 (of 4 total)
  • No, I’m pretty sure you would need root access to install MySQL. I doubt you would need it to install WP. Are you sure MySQL is not installed? Are you creating the database in PHPMyAdmin before running the install?

    Here is my tutorial on installing WordPress locally, the steps are essentially the same to install on a server: https://xcartguru.com/tutorials/wordpress-tutorials/installing-wordpress-on-your-local-machine/

    Does that help at all?

    Thread Starter JunjieHu

    (@junjiehu)

    Hi totaltec,

    Thanks for your suggestion. I need to install WP in the Linux server, which belongs to our department. Thus I cannot get the root permission. I am not the super user. Is it still able to install WP on that server? If no, maybe I need to give up using WP at the end.

    Yes, you should be able to install WP without root access. It all depends on how your server is configured. But if you do not have MySQL installed then it will not work. Contact your server admin and ask about MySQL and see if a database can be created for WP to connect to. This really has nothing to do with WP, it is a server setup question.

    Hi

    i have to install new blog site using wordpress on Linux server ,Please let me know step by step manual step for installing wordpress ,mysql using Apache and php on linux .

    Regards
    vijay

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Install error: cannot connect the localhost MySQL database’ is closed to new replies.