Re: Set up MySQL + Apache 2.2.4 on Win XP.

From: Date: Tue, 01 Jun 2010 22:38:08 +0000
Subject: Re: Set up MySQL + Apache 2.2.4 on Win XP.
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-305729@lists.php.net to get a copy of this message
On Wed, Jun 2, 2010 at 5:32 AM, Shreyas <shreyasbr@gmail.com> wrote: > Since I have another Java app running and points to the same port 3306, > when I tried to configure with EasyPHP, I had a conflict. > > How about configuring EasyPHP at a different port? In that ways, EasyPHP's > MYSQL and my external MySQL will never have a conflicting situation. > > Does that make sense? > > --Shreyas > > locate my.cnf file. Its in your mysql directory. And your mysql directory is somewhere in wamp install directory. Open the file with notepad/wordpad and change the port number. Its written just like this, port = 3306 Change is to port = 3307 or whatever port you like. Then restart mysql. But remember, all you php app need to connect mysql through that 3307 port which is not standard. So mysql_connect() functions params should be tweaked. Shiplu Mokadd.im My talks, http://talk.cmyweb.net Follow me, http://twitter.com/shiplu SUST Programmers, http://groups.google.com/group/p2psust Innovation distinguishes bet ... ... (ask Steve Jobs the rest)

« previous php.general (#305729) next »