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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 2010-06-02 at 01:41 +0530, Shreyas wrote:

> Tried that just now and didn't work. 
> 
> 
> 
> The Java code which talks to the DB has a different username and
> password than the one installed with EasyPHP. I might be missing
> something very silly here. Damn me!
> 
> 
> --Shreyas
> 
> 
> 
> The 
> 
> 
> On Wed, Jun 2, 2010 at 1:10 AM, Ashley Sheridan
> <ash@xxxxxxxxxxxxxxxxxxxx> wrote:
> 
>         
>         On Wed, 2010-06-02 at 01:06 +0530, Shreyas wrote:
>         
>         > Ash,
>         > 
>         > 
>         > Not sure if that would work here. I gave that a shot and
>         > there was a port conflict. 
>         > 
>         > 
>         > I actually want to learn how to set PHP environment in bits
>         > and pieces without a WAMP. Will see what I can do there. 
>         > 
>         > 
>         > Regards,
>         > Shreyas
>         > 
>         > On Wed, Jun 2, 2010 at 12:55 AM, Ashley Sheridan
>         > <ash@xxxxxxxxxxxxxxxxxxxx> wrote:
>         > 
>         >         
>         >         On Wed, 2010-06-02 at 00:46 +0530, Shreyas wrote: 
>         >         
>         >         > Thanks, Ash.
>         >         > 
>         >         > I was able to set things up with EasyPHP 3.0. I had to uninstall my MySQL
>         >         > and Apache to get this work. I have to figure out how I can ask my java code
>         >         > to look at a separate instance of MYSQL while the EasyPHP's instance runs
>         >         > too.
>         >         > 
>         >         > Anyone has encountered this before?
>         >         > 
>         >         > Regards,
>         >         > Shreyas
>         >         > 
>         >         > On Tue, Jun 1, 2010 at 10:58 PM, Ashley Sheridan
>         >         > <ash@xxxxxxxxxxxxxxxxxxxx>wrote:
>         >         > 
>         >         > >  On Tue, 2010-06-01 at 22:54 +0530, Shreyas wrote:
>         >         > >
>         >         > > Alright! Point duly noted.
>         >         > >
>         >         > > I only did not want to spam the list with my very rudimentary questions.
>         >         > >
>         >         > > On Tue, Jun 1, 2010 at 10:33 PM, Ashley Sheridan
>         >         > > <ash@xxxxxxxxxxxxxxxxxxxx>wrote:
>         >         > >
>         >         > > >  On Tue, 2010-06-01 at 22:29 +0530, Shreyas wrote:
>         >         > > >
>         >         > > > You have been of great help, Ash.
>         >         > > >
>         >         > > >
>         >         > > >
>         >         > > >  I just did some progress and I typed in http://localhost and I see the
>         >         > > > easyphp page. Do you know how I can write my own apps now?
>         >         > > >
>         >         > > >
>         >         > > >
>         >         > > >
>         >         > > >
>         >         > > >  On Tue, Jun 1, 2010 at 10:26 PM, Ashley Sheridan <
>         >         > > > ash@xxxxxxxxxxxxxxxxxxxx> wrote:
>         >         > > >
>         >         > > >
>         >         > > >   On Tue, 2010-06-01 at 22:24 +0530, Shreyas wrote:
>         >         > > >
>         >         > > > I did and I miserably failed. I feel like giving up on learning PHP now
>         >         > > > with all these set-up now. Aaah!
>         >         > > >
>         >         > > >
>         >         > > > I have uninstalled MySQL now and trying to see how it goes.
>         >         > > >
>         >         > > >
>         >         > > > ---Shreyas
>         >         > > >
>         >         > > > On Tue, Jun 1, 2010 at 10:16 PM, Ashley Sheridan <ash@xxxxxxxxxxxxxxxxxxxx>
>         >         > > > wrote:
>         >         > > >
>         >         > > >
>         >         > > > On Tue, 2010-06-01 at 22:13 +0530, Shreyas wrote:
>         >         > > >
>         >         > > > Got it! I already have MySQL and Apache installed for another Java project
>         >         > > > and now it tells me certain ports are used. Where can I look up for answers
>         >         > > > like these?
>         >         > > >
>         >         > > >
>         >         > > > --Shreyas
>         >         > > >
>         >         > > > On Tue, Jun 1, 2010 at 10:10 PM, Ashley Sheridan <ash@xxxxxxxxxxxxxxxxxxxx>
>         >         > > > wrote:
>         >         > > >
>         >         > > >
>         >         > > > On Tue, 2010-06-01 at 22:02 +0530, Shreyas wrote:
>         >         > > >
>         >         > > > Ash,
>         >         > > >
>         >         > > > Thanks for the quick reply. I am downloading Easyphp 3.0 right now and see
>         >         > > > how it goes. But just to understand how this all works, will it work with
>         >         > > > Eclipse, too? I am using Ganymede.
>         >         > > >
>         >         > > >
>         >         > > > Regards,
>         >         > > > Shreyas
>         >         > > >
>         >         > > > On Tue, Jun 1, 2010 at 9:55 PM, Ashley Sheridan <ash@xxxxxxxxxxxxxxxxxxxx>wrote:
>         >         > > >
>         >         > > > >  On Tue, 2010-06-01 at 21:47 +0530, Shreyas wrote:
>         >         > > > >
>         >         > > > > PHP'ers,
>         >         > > > >
>         >         > > > >
>         >         > > > >
>         >         > > > >  Please do not curse me for this.
>         >         > > > >
>         >         > > > >
>         >         > > > >
>         >         > > > >  I am having a tough time to get this up and running. Can someone point me
>         >         > > > > to a document which will help me do configure so that I can start learning
>         >         > > > > and working on PHP ASAP? Please. I have attached the files under
>         >         > > > > consideration.
>         >         > > > >
>         >         > > > >
>         >         > > > >
>         >         > > > >  Here is my details :
>         >         > > > >
>         >         > > > >
>         >         > > > >
>         >         > > > >  MySQL - 5.x
>         >         > > > >
>         >         > > > >
>         >         > > > >
>         >         > > > >  Apache - apache_2.2.4-win32-x86-no_ssl.msi
>         >         > > > >
>         >         > > > >
>         >         > > > >
>         >         > > > >  PHP base - C:\PHP
>         >         > > > >
>         >         > > > >
>         >         > > > >
>         >         > > > > Regards,
>         >         > > > > Shreyas
>         >         > > > >
>         >         > > > >  --
>         >         > > > > PHP General Mailing List (http://www.php.net/)
>         >         > > > > To unsubscribe, visit: http://www.php.net/unsub.php
>         >         > > > >
>         >         > > > >
>         >         > > > > Rather than install the separate components have you looked at a pre-built
>         >         > > > > stack? A lot of people swear by the WAMP install on Windows. For my own
>         >         > > > > experience on Windows, I've found EasyPHP to be an absolute doddle to use,
>         >         > > > > and can have you up and running with all the modules you need within
>         >         > > > > minutes.
>         >         > > > >
>         >         > > > >   Thanks,
>         >         > > > > Ash
>         >         > > > > http://www.ashleysheridan.co.uk
>         >         > > > >
>         >         > > > >
>         >         > > > >
>         >         > > >
>         >         > > >
>         >         > > >
>         >         > > >
>         >         > > >
>         >         > > > The editor you use won't matter. EasyPHP installs Apache, MySQL and PHP in
>         >         > > > one install, and gets it all working together easily on Windows.
>         >         > > >
>         >         > > >
>         >         > > >   Thanks,
>         >         > > > Ash
>         >         > > > http://www.ashleysheridan.co.uk
>         >         > > >
>         >         > > >
>         >         > > >
>         >         > > >
>         >         > > >
>         >         > > >
>         >         > > >
>         >         > > >
>         >         > > > --
>         >         > > > Regards,
>         >         > > > Shreyas
>         >         > > >
>         >         > > >
>         >         > > >
>         >         > > > The install should allow you to choose different ports, but as you already
>         >         > > > have Apache and MySQL installed, have you looked to download the PHP Windows
>         >         > > > installation file from php.net and run that? It should let you attach it
>         >         > > > to an existing Apache install, although I'm not familiar with installing PHP
>         >         > > > this way on a Windows machine.
>         >         > > >
>         >         > > >
>         >         > > >   Thanks,
>         >         > > > Ash
>         >         > > > http://www.ashleysheridan.co.uk
>         >         > > >
>         >         > > >
>         >         > > >
>         >         > > >
>         >         > > >
>         >         > > >
>         >         > > >
>         >         > > > --
>         >         > > > Regards,
>         >         > > > Shreyas
>         >         > > >
>         >         > > >
>         >         > > >
>         >         > > >   I'm not so good with diagnosing Windows problems these days, haven't
>         >         > > > used it seriously for a few years now, maybe someone else on the list can
>         >         > > > help?
>         >         > > >
>         >         > > >
>         >         > > >
>         >         > > >   Thanks,
>         >         > > > Ash
>         >         > > > http://www.ashleysheridan.co.uk
>         >         > > >
>         >         > > >
>         >         > > >
>         >         > > >
>         >         > > >
>         >         > > >
>         >         > > > --
>         >         > > > Regards,
>         >         > > > Shreyas
>         >         > > >
>         >         > > >
>         >         > > > EasyPHP keeps it's web root by default at C:\Program Files\EasyPHP\www (or
>         >         > > > thereabouts) so you can just create and edit files in here.
>         >         > > >
>         >         > > >
>         >         > > > Ps, use the reply to list (or failing that the reply to all) feature in
>         >         > > > your email client to keep the messages on list so that other people can see,
>         >         > > > respond to and benefit from the thread.
>         >         > > >
>         >         > > > Ps.ps. please try not to top post. The list rules say that we should all
>         >         > > > bottom post in order to keep threads logical.
>         >         > > >
>         >         > > >
>         >         > > >   Thanks,
>         >         > > > Ash
>         >         > > > http://www.ashleysheridan.co.uk
>         >         > > >
>         >         > > >
>         >         > > >
>         >         > >
>         >         > >
>         >         > >
>         >         > >
>         >         > > The list is here to help with your questions, and your question might also
>         >         > > be the same as somebody else's question, which is where the list archiving
>         >         > > helps.
>         >         > >
>         >         > >
>         >         > >   Thanks,
>         >         > > Ash
>         >         > > http://www.ashleysheridan.co.uk
>         >         > >
>         >         > >
>         >         > >
>         >         > 
>         >         > 
>         >         
>         >         
>         >         
>         >         Can you not just copy the original MySQL database
>         >         into the EasyPHP MySQL ? 
>         >         
>         >         
>         >         Thanks,
>         >         Ash
>         >         http://www.ashleysheridan.co.uk
>         >         
>         >         
>         >         
>         >         
>         > 
>         > 
>         > 
>         > 
>         > -- 
>         > Regards,
>         > Shreyas
>         > 
>         
>         
>         
>         
>         No, that sounds like you're trying to get two versions of
>         MySQL to run alongside each other, which isn't what I said.
>         Take the databases from the original MySQL install and copy
>         them across to the new MySQL install.
>         
>         
>         
>         Thanks,
>         Ash
>         http://www.ashleysheridan.co.uk
>         
>         
>         
> 
> 
> 
> 
> -- 
> Regards,
> Shreyas
> 

You can add extra users to the MySQL service, and allow them specific
permissions to a specific database. I'm not sure the best way to do that
though on EasyPHP, as I've only ever gone that deep with MySQL on a
Linux system, which is more command line driven rather than graphical
like Windows.

Thanks,
Ash
http://www.ashleysheridan.co.uk



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux