Hi Alex, If you want to go the PHP script rout where everything is in your PHP script including the stuff that makes the database, you would get feedback in your browser about what went wrong, if anything, assuming that you write your script to allow that to happen. Jim -----Original Message----- From: programmingblind-bounce@xxxxxxxxxxxxx [mailto:programmingblind-bounce@xxxxxxxxxxxxx] On Behalf Of Alex Hall Sent: Wednesday, June 15, 2011 4:30 PM To: programmingblind@xxxxxxxxxxxxx Subject: Re: running mysql script on website? 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 > | //www.freelists.org/list/programmingblind > | > > __________ > View the list's information and change your settings at > //www.freelists.org/list/programmingblind > > __________ > View the list's information and change your settings at > //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 //www.freelists.org/list/programmingblind This e-mail and any attachments to it are confidential and are intended solely for use of the individual or entity to whom they are addressed. If you have received this e-mail in error, please notify the sender immediately and then delete it. If you are not the intended recipient, you must not keep, use, disclose, copy or distribute this e-mail without the author's prior permission. The views expressed in this e-mail message do not necessarily represent the views of Highmark Inc., its subsidiaries, or affiliates. __________ View the list's information and change your settings at //www.freelists.org/list/programmingblind