Home Messages Index
[Date Prev][Date Next][Thread Prev][Thread Next]
Author IndexDate IndexThread Index

Re: running a script from cpanel

__/ [Nospam] on Monday 20 February 2006 05:34 \__

> I am wondering where precisely on cpanel I would run a script command such
> as this:
> 
> mysql --user usernameofdatabase -p databasename < script-v.X.xx.sql
> 
> I have tried running it in a sql query window in Myphpadmin

First option is to use a cronjob hack, assuming your host gives you no
shell/Telnet/SSH access, but leaves cron jobs in tact. Instructions below:

http://schestowitz.com/Weblog/archives/2005/09/12/cpanel-terminal-hack/

The other is to install PHP-Shell:

http://mgeisler.net/php-shell/

it might become handy in the future.

Hope it helps,

Roy

[Date Prev][Date Next][Thread Prev][Thread Next]
Author IndexDate IndexThread Index