Re: [PHP-DB] using database without mysql installed

2008-10-25 Thread Patrick Price
I think I will have to use a second script on mysql server since (I forgot
to mention) the database is replicated and that seems like the best option.
Thanks for the help

patrick

On Sat, Oct 25, 2008 at 2:14 PM, Nitsan Bin-Nun <[EMAIL PROTECTED]> wrote:

> Umm you can convert it to files-based database (for instance - .sq3 -
> sqlite) and work with it, and yes, installing mysql after php is possible.
>
> HTH,
> Nitsan
>
> On Sat, Oct 25, 2008 at 4:32 PM, YVES SUCAET <[EMAIL PROTECTED]> wrote:
>
> > Well, *technicaly*... you could open a socket to the MySQL server and
> talk
> > to
> > it, but that's probably a bit much, so...
> >
> > You never mentioned what kind of server this is. Is this on *nix or
> > Windows?
> > And do you have access to the php.ini file at least so you can enable the
> > mysql extension?
> >
> > Other than that, I think your idea of putting a script on a second server
> > to
> > get your data would work just fine. You could have the second script even
> > send
> > back your requested data in XML or use Ajax to populate tables on the
> > client-side rather than the server side. It may even make your
> application
> > run
> > more smoothly (and definitely scalable).
> >
> > HTH,
> >
> > Yves
> >
> >
> > -- Original Message --
> > Received: Fri, 24 Oct 2008 03:35:47 PM CDT
> > From: "Patrick Price" <[EMAIL PROTECTED]>
> > To: 
> > Subject: [PHP-DB] using database without mysql installed
> >
> > I am trying to access a mysql database server from a php 5.2 server that
> > doesn't have mysql installed on it.  I don't have access or the ability
> to
> > reinstall php on this server.  Is it possible to install mysql after php
> is
> > installed and up and running?
> >
> >
> >
> > If it is not possible, what would be the best solution to accessing the
> > database?
> >
> >
> >
> > The best solution I could think of would be to require a php file that is
> > running on a server that I have control of and that has mysql installed
> and
> > using that  file to call the database to get the information I need.
> >
> >
> >
> > Thanks for any help.
> >
> >
> >
> > Patrick
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > --
> > PHP Database Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
> >
>


Re: [PHP-DB] using database without mysql installed

2008-10-25 Thread Nitsan Bin-Nun
Umm you can convert it to files-based database (for instance - .sq3 -
sqlite) and work with it, and yes, installing mysql after php is possible.

HTH,
Nitsan

On Sat, Oct 25, 2008 at 4:32 PM, YVES SUCAET <[EMAIL PROTECTED]> wrote:

> Well, *technicaly*... you could open a socket to the MySQL server and talk
> to
> it, but that's probably a bit much, so...
>
> You never mentioned what kind of server this is. Is this on *nix or
> Windows?
> And do you have access to the php.ini file at least so you can enable the
> mysql extension?
>
> Other than that, I think your idea of putting a script on a second server
> to
> get your data would work just fine. You could have the second script even
> send
> back your requested data in XML or use Ajax to populate tables on the
> client-side rather than the server side. It may even make your application
> run
> more smoothly (and definitely scalable).
>
> HTH,
>
> Yves
>
>
> -- Original Message --
> Received: Fri, 24 Oct 2008 03:35:47 PM CDT
> From: "Patrick Price" <[EMAIL PROTECTED]>
> To: 
> Subject: [PHP-DB] using database without mysql installed
>
> I am trying to access a mysql database server from a php 5.2 server that
> doesn't have mysql installed on it.  I don't have access or the ability to
> reinstall php on this server.  Is it possible to install mysql after php is
> installed and up and running?
>
>
>
> If it is not possible, what would be the best solution to accessing the
> database?
>
>
>
> The best solution I could think of would be to require a php file that is
> running on a server that I have control of and that has mysql installed and
> using that  file to call the database to get the information I need.
>
>
>
> Thanks for any help.
>
>
>
> Patrick
>
>
>
>
>
>
>
>
>
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>


Re: [PHP-DB] using database without mysql installed

2008-10-25 Thread YVES SUCAET
Well, *technicaly*... you could open a socket to the MySQL server and talk to
it, but that's probably a bit much, so...

You never mentioned what kind of server this is. Is this on *nix or Windows?
And do you have access to the php.ini file at least so you can enable the
mysql extension?

Other than that, I think your idea of putting a script on a second server to
get your data would work just fine. You could have the second script even send
back your requested data in XML or use Ajax to populate tables on the
client-side rather than the server side. It may even make your application run
more smoothly (and definitely scalable).

HTH,

Yves


-- Original Message --
Received: Fri, 24 Oct 2008 03:35:47 PM CDT
From: "Patrick Price" <[EMAIL PROTECTED]>
To: 
Subject: [PHP-DB] using database without mysql installed

I am trying to access a mysql database server from a php 5.2 server that
doesn't have mysql installed on it.  I don't have access or the ability to
reinstall php on this server.  Is it possible to install mysql after php is
installed and up and running?  

 

If it is not possible, what would be the best solution to accessing the
database?  

 

The best solution I could think of would be to require a php file that is
running on a server that I have control of and that has mysql installed and
using that  file to call the database to get the information I need.

 

Thanks for any help.

 

Patrick

 

 






--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php