Re: running mysql script on website?
- From: Alex Hall <mehgcap@xxxxxxxxx>
- To: programmingblind@xxxxxxxxxxxxx
- Date: Wed, 15 Jun 2011 16:29:55 -0400
What about this: upload the script, then upload a php file that
connects to the db and runs the command "source ./script.sql"? Would
that work how I want it to?
On 6/15/11, Katherine Moss <Katherine.Moss@xxxxxxxxxx> wrote:
> Oh, oops. My bad. I didn't think of that. Sorry guys for the mistake.
>
> -----Original Message-----
> From: programmingblind-bounce@xxxxxxxxxxxxx
> [mailto:programmingblind-bounce@xxxxxxxxxxxxx] On Behalf Of Humberto
> Rodriguez
> Sent: Wednesday, June 15, 2011 4:06 PM
> To: programmingblind@xxxxxxxxxxxxx
> Subject: Re: running mysql script on website?
>
> I would suggest writing a PHP script to connect to the MYSQL database,
> create the tables and whatever else you need to do, upload it with FTP and
> execute it from the browser, then delete it.
>
> Humberto
>
> ----- Original Message -----
> From: "Alex Hall" <mehgcap@xxxxxxxxx>
> To: "programmingblind" <programmingblind@xxxxxxxxxxxxx>
> Sent: Wednesday, June 15, 2011 3:39 PM
> Subject: running mysql script on website?
>
>
> | Hi all,
> | I have a site that I can access through ftp, and I have a small cms I
> | plan to use on said site. I have the sql script to create the six or
> | seven tables I will be using. How would I run that script on the site
> | database? When I wrote the script it was a simple thing to test since
> | I have the mysql command line right here, but how do I do this with
> | ftp? Thanks.
> |
> | --
> | Have a great day,
> | Alex (msg sent from GMail website)
> | mehgcap@xxxxxxxxx; http://www.facebook.com/mehgcap
> | __________
> | View the list's information and change your settings at
> | http://www.freelists.org/list/programmingblind
> |
>
> __________
> View the list's information and change your settings at
> http://www.freelists.org/list/programmingblind
>
> __________
> View the list's information and change your settings at
> http://www.freelists.org/list/programmingblind
>
>
--
Have a great day,
Alex (msg sent from GMail website)
mehgcap@xxxxxxxxx; http://www.facebook.com/mehgcap
__________
View the list's information and change your settings at
http://www.freelists.org/list/programmingblind
Other related posts:
- » running mysql script on website? - Alex Hall
- » RE: running mysql script on website? - Katherine Moss
- » Re: running mysql script on website? - Humberto Rodriguez
- » RE: running mysql script on website? - Katherine Moss
- » Re: running mysql script on website? - Littlefield, Tyler
- » Re: running mysql script on website? - Alex Hall
- » Re: running mysql script on website? - Littlefield, Tyler
- » Re: running mysql script on website? - Alex Hall
- » Re: running mysql script on website? - Littlefield, Tyler
- » Re: running mysql script on website? - Alex Hall
- » Re: running mysql script on website? - Humberto Rodriguez
- » RE: running mysql script on website? - Homme, James
- » RE: running mysql script on website? - Homme, James
- » Re: running mysql script on website? - Alex Hall
- » Re: running mysql script on website? - Alex Hall
- » RE: running mysql script on website? - Katherine Moss
- » Re: running mysql script on website? - Humberto Rodriguez
- » Re: running mysql script on website? - Alex Hall
- » Re: running mysql script on website? - Humberto Rodriguez
- » Re: running mysql script on website? - Humberto Rodriguez
- » RE: running mysql script on website? - Katherine Moss
- » Re: running mysql script on website? - Littlefield, Tyler
- » Re: running mysql script on website? - Littlefield, Tyler
- » Re: running mysql script on website? - Littlefield, Tyler
- » RE: running mysql script on website? - Homme, James
- » RE: running mysql script on website? - Homme, James
- » RE: running mysql script on website? - Trouble
- » RE: running mysql script on website? - John G