Go Back   HostGator Peer Support Forums > HostGator Peer Support Forums > Shared Hosting Support

Notices

Reply
 
Thread Tools
  #1  
Old 05-26-2006, 09:38 AM
jcarlson's Avatar
jcarlson jcarlson is offline
Hatchling Croc
 
Join Date: Nov 2005
Location: Waterford, CT
Posts: 21
Default Can Shared accounts populate SQL DBs? (without shell access)

I always love those SQL/PHP web applications/systems which just automatically create their own DBs and run off and create their own tables, etc. etc.

But for an application I just downloaded, I'm reading the Installation txt file and it has the following:

Quote:
* Set up the database

On a Unix-like system, the command line tools can generally be used:

- Create a database:
$ mysqladmin -p create dms

- Create and populate the tables:
$ mysql -p dms < sql/mysql/install/structure.sql
$ mysql -p dms < sql/mysql/install/data.sql

- Create the database users
$ mysql -p dms < sql/mysql/install/user.sql
Anyway to get this thing running in phpMyAdmin? I know that we don't have "unix shell" access in the HostGator Shared plans, but is there a work-around of some sort?

Thanks in advance!
- Jamie
Reply With Quote
  #2  
Old 05-26-2006, 03:33 PM
quietFinn's Avatar
quietFinn quietFinn is offline
Veteran Croc
 
Join Date: Feb 2005
Posts: 3,557
Default Re: Can Shared accounts populate SQL DBs? (without shell access)

You create the database and the database user in your cPanel, then you connect to phpMyAdmin and execute those:

sql/mysql/install/structure.sql
sql/mysql/install/data.sql
sql/mysql/install/user.sql

I suppose those are in the installation package.
__________________
quietFinn - netFinn Finland
"Be who you are and say what you feel because those who mind don't matter and those who matter don't mind." - Dr. Seuss
Reply With Quote
Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT -5. The time now is 10:45 PM.