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". 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 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
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". 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'); 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
Post a Comment