Configuring Master/Slave Architecture For High Performance and Using In PHP

source url Note:: This article does not explain what is master/slave architechture. Master Server SETUP STEP 1) Creating server conf file Path— /etc/my.cnf Just copy your mysql.conf file and Paste it on /etc/my.cnf and add following lines to it. ## Replication server-id… Continue reading go

pire photo site de rencontre

Transaction in PHP Mysql

go to link This is how easily you can implement tractions in mysqli and PHP. $link = mysqli_connect(‘localhost’,’root’,”,’test’); // Check connection if (mysqli_connect_errno()) { die(‘error’); } mysqli_autocommit($link, FALSE); //disable autocommit $query=”insert into tb1 (username,pwd) values(‘pp’,’sdsd’)”; $queryres=mysqli_query($link, $query); if(!$queryres) { echo “error first query”;… Continue reading

enter site