duocia
Forum Replies Created
-
Forum: Localhost Installs
In reply to: Seperate files one DBFound it, still Error establishing a database connection
Forum: Localhost Installs
In reply to: Seperate files one DBI have Xampp, this should be in mysql config or apache?
Forum: Localhost Installs
In reply to: Seperate files one DBJust a bit modified line ??
https://prnt.sc/jui77hWithout define( ‘MULTISITE’, true ) website works fine, but I cannot access other sites…
Forum: Localhost Installs
In reply to: Seperate files one DBThis is my connection lines, I know that connection works because, Because I made connection from my local phpmyadmin to remote database.
define(‘DB_NAME’, ‘mmo’);
/** MySQL database username */
define(‘DB_USER’, ‘mmo’);/** MySQL database password */
define(‘DB_PASSWORD’, ‘*****’);/** MySQL hostname */
define(‘DB_HOST’, ‘79.98.30.144’);Forum: Localhost Installs
In reply to: Seperate files one DBdefine(‘DB_HOST’, ‘79.98.30.144’);
- This reply was modified 6 years, 5 months ago by duocia.
Forum: Localhost Installs
In reply to: Seperate files one DBYes, remote connections are allowed this is simple picture of what I want to achieve. https://prnt.sc/juhp6t
Forum: Localhost Installs
In reply to: Seperate files one DBI have this in my wp-config:
$base = ‘/’;
define( ‘WP_ALLOW_MULTISITE’, true );
define( ‘WP_HOME’, ‘https://localhost/mmo’ );
define( ‘WP_SITEURL’, ‘https://localhost/mmo’ );
define( ‘MULTISITE’, true );
define( ‘SUBDOMAIN_INSTALL’, false );
define( ‘DOMAIN_CURRENT_SITE’, ‘localhost’ );
define( ‘PATH_CURRENT_SITE’, ‘/mmo/’ );
define( ‘SITE_ID_CURRENT_SITE’, 1 );
define( ‘ADMIN_COOKIE_PATH’, ‘/’ );
define( ‘COOKIE_DOMAIN’, ” );
define( ‘COOKIEPATH’, ” );
define( ‘SITECOOKIEPATH’, ” );
define( ‘NOBLOGREDIRECT’, ‘https://localhost/mmo’ );but I get: Error establishing a database connection
Forum: Localhost Installs
In reply to: Seperate files one DBYes, and it is pointing to remote database, but when I try opening website on my localhost I get redirected to that exact server. But how avoid redirecting but use same database is my question?