Showing posts with label XAMPP. Show all posts
Showing posts with label XAMPP. Show all posts

Monday, December 30, 2013

Fix Error : "Host 'xx.xx.xx.xx' is not allow to connect to this MySQL server"


             When you install MySQL Database on PC. You can connect to MySQL Database by root in hostname localhost or 127.0.0.1 only. You cannot connect by other device by IP Address. If will show error  "Host 'xx.xx.xx.xx' is not allow to connect to this MySQL server" . So you will config your MySQL to allow other device to connect it follow instruction below.

How to use database MySQL with Raspberry Pi


     Raspberry Pi can interface database MySQL with C++ Programming. You can read or write data to MySQL Server. So in your Raspberry Pi will must prepare MySQL Library for programming before.

SETUP MySQL C Access


sudo apt-get update                                           

sudo apt-get upgrade                                          
sudo apt-get install libmysqlclient-dev