Beginner Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsOtherBeginner Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old July 7th, 2001, 09:45 PM
rulian rulian is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2001
Posts: 13 rulian User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
online mysql connection

I built a website locally on my machine using php4/mysql

but now i"m trying to upload it to my website, so I need to connect to my online host which provides both php4 and mysql. But to connect to mysql my host says

"You can access the database using Perl DBI (with DBD::mysql) or Mysql.pm module. You can also access it from the command line via SSH using mysql command"

But I have absolutely no idea how to use perl, or to be honest, what that message means. Please help me, i tried to use phpmyadmin and give the settings they gave me, but they also gave me a directory to put into there, and phpmyadmin doesnt allow for that, any ideas how I could connect and upload my database with the info in it?

Reply With Quote
  #2  
Old July 10th, 2001, 02:39 PM
oach oach is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2001
Location: knee deep in sh*t
Posts: 194 oach User rank is Sergeant Major (2000 - 5000 Reputation Level)oach User rank is Sergeant Major (2000 - 5000 Reputation Level)oach User rank is Sergeant Major (2000 - 5000 Reputation Level)oach User rank is Sergeant Major (2000 - 5000 Reputation Level)oach User rank is Sergeant Major (2000 - 5000 Reputation Level)oach User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 1 Day 22 h 2 m 42 sec
Reputation Power: 39
Send a message via AIM to oach Send a message via MSN to oach Send a message via Yahoo to oach
rulian,

This may not be what you are looking for, but I believe it will get you going in the correct direction.

From what I understand you cannot just "copy and paste" mysql db files. You have to work some magic.

There are two possible ways of doing this:

1. The first is using a command called mysqldump. This "dumps" the db into a directory of your choice. I really don't know for sure, but this might actually pull the files off your machine. Read more about it: http://www.mysql.com/doc/m/y/mysqldump.html

2. The other is called mysqlhotcopy. This actually copies the mysql files to the directory of your choice. Read more about it: http://www.mysql.com/doc/m/y/mysqlhotcopy.html

I hope this helps,
oach

Reply With Quote
  #3  
Old July 10th, 2001, 04:50 PM
rulian rulian is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2001
Posts: 13 rulian User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
thanks i'll give it a shot

Reply With Quote
Reply

Viewing: Dev Shed ForumsOtherBeginner Programming > online mysql connection


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway