remote mysql for wordpress (solved) - Raspberry Pi Forums


i trying setup wordpress on 2 raspii.
goal enhance performance of wordpress having database load handled second board.

raspi #1 256mb ver. 1.0 board
has apache2,php5 , wordpress

raspi#2 256mb ver. 1.0 board
hasmysql , php5
added php5 , components after received "error establishing database connection".
double stacked raspii64k.jpg
double stacked raspii64k.jpg (62.46 kib) viewed 379 times
added php5 , components after received "error establishing database connection".
both boards have raspbian server edition 2.4 (rse 2.4)
http://sirlagz.net/2013/06/13/raspbian- ... ition-2-4/
both boards have static ip's on switch attached router. router handles dhcp.

have changed wp-config.php

code: select all

define('db_host', 'xxx.xxx.xxx.xxx:3306'); 
still cannot connect database.

suggestions.

used these directions setup apache, php, mysql , wordpress.
http://mitchtech.net/wordpress-on-raspberry-pi/
these directions worked current wordpress server at
rich1.dyndns.tv

it turned out privileges issue.

code: select all

grant on wordpress.* user_name@xxx.xxx.xxx.xxx identified 'db_password';


raspberrypi



Comments

Popular posts from this blog

Thread: PKI Client 5.00 install (for eToken Pro)

ATmega2560-Arduino Pin Mapping

Crossfader Arduino Tutorial