• Resolved Rob

    (@rob70)


    I want to run multiply web site (WordPress)

    I am running Synology DS118 DSM 6.1.4-15217 update 5. Package installed: PHP 5.6 Version 5.6.31-0054, MariaDB 10 Version 10.0.32-0010, phpMyAdmin Version 43.6.6-0173 (web/phpMyAdmin)

    Multiple domains on Synology’s DSM 6.x
    Host name: rvwing.eu, Port: 80 / 443, Document root: web/rvwing.eu, HTTP back-end server: Apache Server 2.4, PHP 5.6, Status: Normal (Green)

    Using WordPress 4.9.1 unzip and copy in to Dir web/rvwing.eu

    Problem Description
    When I run https://rvwing.eu the openings screen is displayed from WordPress, greet. That means I have install my virtual host correct. WordPress reqeust to fill in the database name, user name, password, localhost and Table Prefix (So I create in phpMyAdmin an new database with the name wpnew) I fill in all this items and submit it. From here it go wrong WordPress mentioned “Error establishing a database connection”. I try difference names users password etc… I can’t get it working, some way there is no connection between phpMyAdmin and WordPress. Is there some body that can help me out this problem..

    QST How to connect WordPress to phpMyAdmin (Virtual Host)

    Thx Rob, The Netherlands

    • This topic was modified 7 years, 2 months ago by Rob.
    • This topic was modified 7 years, 2 months ago by Rob.
    • This topic was modified 7 years, 2 months ago by Rob.
    • This topic was modified 7 years, 2 months ago by Rob.
    • This topic was modified 7 years, 2 months ago by Rob.
    • This topic was modified 7 years, 2 months ago by Rob.
    • This topic was modified 7 years, 2 months ago by Rob.
    • This topic was modified 7 years, 2 months ago by Rob.
    • This topic was modified 7 years, 2 months ago by Rob.
    • This topic was modified 7 years, 2 months ago by Rob.
    • This topic was modified 7 years, 2 months ago by Rob.
    • This topic was modified 7 years, 2 months ago by Rob.
    • This topic was modified 7 years, 2 months ago by Rob.
    • This topic was modified 7 years, 2 months ago by Rob.
    • This topic was modified 7 years, 2 months ago by Rob.
Viewing 5 replies - 1 through 5 (of 5 total)
  • Moderator t-p

    (@t-p)

    “Error establishing a database connection” means that there is a problem with the connection to your database:
    – a problem with the credentials stored in the wp-config.php file not matching what mysql expects.
    – Try reviewing the following codex for some guidance: https://codex.www.ads-software.com/Common_WordPress_Errors#Error_Establishing_Database_Connection
    – Also review this tutorial: https://www.wpbeginner.com/wp-tutorials/how-to-fix-the-error-establishing-a-database-connection-in-wordpress/

    Thread Starter Rob

    (@rob70)

    Thks for your reply, I will follow your advice. I keep you informed. Rob73

    Thread Starter Rob

    (@rob70)

    Hello t-p

    I try out all what is in WordPress URL’s also the tutorial, NO Succes..
    I run in Web station an virtual host and the route is follow:
    web\phpMyAdmin\
    web\rvwing.eu\
    web\rvwing.eu\wordpress\
    phpMyAdmin can’t connect with WordPress, difference directories / location..
    I bring this issue to Synology support, waiting for an answer…

    For the moment I restore my website to an single web site

    Thx Rob73

    • This reply was modified 7 years, 2 months ago by Rob.
    Thread Starter Rob

    (@rob70)

    Learn from Synology Support as follow

    01 For Virtual host using MariaDB 5.0 (not MariaDB 10), Open user “root” password default “empty” create new database any name is ok in my case I using “wpdb”. Press go then leave MariaDB 5.0. Setup Virtual host I using for HTTP Backup server: Nginx and for PHP: PHP 5.6. That is all..

    02 I have reinstall my DS118 (NAS) from scratch. Take time but it is good to reinstall all package again. In web station I create 2 virtual websites in according above advice from Synology. From here avery website wordpress startup and is running fine.

    So my problem for this topic is solve. New problem appears about (FTP) but that I will issued an new topic.

    Thank Synology for there support…

    Best regards Rob73

    • This reply was modified 7 years, 2 months ago by Rob.
    Moderator t-p

    (@t-p)

    Glad to know it ??

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘WordPress can’t connect to phpMyAdmin (virtual host)’ is closed to new replies.