Go Back   HostGator Peer Support Forums > Public Forums > Pre-Sales Questions

Notices

Reply
 
Thread Tools
  #1  
Old 07-25-2005, 10:15 AM
Unregistered
HostGator Guest
 
Posts: n/a
Default mySQL

Hi

I am developing a website locally, which will need hosting, but I have not yet used databases with web hosting.

I understand there are all sorts of HTML "easy" panels to control databases and such, but what I want to know is if I will be able to use MYSQL.EXE on the command line as I do on my PC ?

I want to be able to use mysql.exe and then SOURCE to run my SQL scripts to create tables, import or export data, or run querries on the database that would be on the host. Can I do that ?
Reply With Quote
  #2  
Old 07-25-2005, 02:48 PM
Stef's Avatar
Stef Stef is offline
Royal Croc
 
Join Date: May 2004
Posts: 715
Default Re: mySQL

You can connect to the mysql server from the commandline:
mysql -h <yourdomain> -u <db_username> -p<db_password>.

You can also use any 3th party mysql database manager (like MySQL Administrator).

Stef.
Reply With Quote
  #3  
Old 07-25-2005, 03:47 PM
Unregistered
HostGator Guest
 
Posts: n/a
Default Re: mySQL

Thank you!

Just one more (unrelated) question..

Can I enter a "dummy" domain name during the ordering procedure ? I have not yet decided the exact domain name I want to use, and will buy one separately. However when I want to order it asks me for an existing domain name or it goes into the "will get a domain name for you" procedure.

What I want to do is just use the temporary address (some IP/~username I think) for a week or two while testing things and I'll get a domain name during that time.
Reply With Quote
  #4  
Old 07-25-2005, 04:37 PM
hotdog hotdog is offline
Junior Croc
 
Join Date: Jan 2005
Posts: 108
Default Re: mySQL

Do it the easy way, download a Apache/PHP/MySQL bundle, heaps around, firepages.com.au is a good one (pick the version of php closest to hostgators - about 4.something).
down and run, this way you have a server on your computer and you dont need to connect to the net, and if you mess the code up, worst thing you have to do is reboot your computer instead of being suspended for bringing the hosted server down.
Once you've finished your site (or any updates), just ftp the .php pages and make changes to database manually or save your database off your pc via phpmyadmin as a dump file and import the whole file into your hosted account.

If you are unsure of a domain name, wait until you are sure before you get hosting, nothing worse than picking a web name under pressure. hg arent going anywhere
Reply With Quote
  #5  
Old 07-25-2005, 07:08 PM
Unregistered
HostGator Guest
 
Posts: n/a
Default Re: mySQL

I'd have to agree with everything hotdog said. As for the domain, here is what I would do. You will have add-on domains to use, so use them. Get a your-family-name.name or .us or .cc or whatever, and register the account with that. I never thought I would use one, but I love having a .us domain with my family name for e-mail accounts and small projects that don't need their own domain, but are more importent then a free page. Then you can register an add-on domain for your main site. It's an extra $9.00 a year at the most anyway.

Staren
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 Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Escape: mysql_connect(): Can't connect to local MySQL server through socket RyanM Shared Hosting Support 6 10-02-2006 05:45 PM
xeoman guestbook/ mysql help needed marlies63 Shared Hosting Support 2 01-31-2005 02:42 PM
Max MySQL Packet Size gabe Shared Hosting Support 1 12-14-2004 07:48 AM

All times are GMT -6. The time now is 11:54 AM.