This blog is NOFOLLOW Free!

The magic space of the IT find what you seek or get lost

17Mar/101

Howto really completely disable mysql replication

There are many possibilites howto setup a mysql replication. Here you will find a hopefully completly Howto really disable it. This is very usefull for example if you want to make your slave a primary (standalone) server.

Connect to the mysql shell:

mysql -uroot -p
11Mar/101

Php mysql connect ignores port for localhost

I just tried to connect with php to an other mysql server which runs on my localhost on an other port then the standard 3306. I used this syntax:

mysql_connect('localhost:3307', 'mysql_user', 'mysql_password');

But the damn php always connected to the default mysql server with port 3306.
After a lot of google searching I found the solution.

Tagged as: , Continue reading