Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > How do I set up MySQL on my providers server?

How do I set up MySQL on my providers server?
Thread Tools
Junior Member
Join Date: Oct 2000
Location: Germany
Status: Offline
Reply With Quote
Jun 27, 2002, 02:34 AM
 
Hello,

I'm new to PHP and MySQL. I've written a site and now I want to upload it to the servers of my provider.

how do I create my db and all the tables. i remember reading something about telnet. is that true? if so, where can i learn how to use telnet?

a second question. is it somehow possible to take the mysql db on my iBook and just upload the db to my providers server? that would save a lot of time!

Rudy
     
Mac Elite
Join Date: Aug 2000
Location: Minneapolis, MN
Status: Offline
Reply With Quote
Jun 27, 2002, 12:45 PM
 
Read up on importing tables into MySQL. It should be a fairly easy task. I don't have the expertise in using mysql and its command language.

If you can get a shell access account with your service provider (ask them), then use a telnet application to login to the account. You can find a telnet application or ssh application at <a href="http://www.versiontracker.com/" target="_blank">http://www.versiontracker.com/</a>

Shell access is just like using the terminal under OSX. As a matter of fact you can use your terminal to access the site via a shell command of 'terminal' or 'ssh'. Just type telnet <your service provider> and it will prompt you for a password. For ssh, type 'ssh -l <your username> <your service provider>'. The command contains a lower-case L. Either command will connect you to the server in a shell.

Be sure your service provider allows mysql on their server. They will have to grant you access to with a login and password where you can setup tables and databases.

Hope this helps some.

<small>[ 06-27-2002, 01:49 PM: Message edited by: bluedog ]</small>
     
Mac Elite
Join Date: Mar 2002
Location: Clogland
Status: Offline
Reply With Quote
Jun 27, 2002, 12:54 PM
 
Telnet knowledge is not necessary to work with a Mysql database.

The Mysql command panel sort of looks like a DOS command panel and you can create databases and tables and manipulate your data etc., although syntax errors makes this a tiresome process.

There are tools like phpmyadmin and mysqlfront which make the manipulation of databases very user friendly.

Then of course you can set up databases from the php pages themselves, mysql query etc. etc.

And yes you can transfer the database you have made on your iBook, i.e. localhost to your server, with mysqlfront it is a matter of drag and drop I believe.
     
Occasionally Useful
Join Date: Jun 2001
Location: Liverpool, UK
Status: Offline
Reply With Quote
Jun 27, 2002, 01:17 PM
 
<a href="http://www.phpmyadmin.org/" target="_blank">try this</a>
"Have sharp knives. Be creative. Cook to music" ~ maxelson
     
Junior Member
Join Date: Oct 2000
Location: Germany
Status: Offline
Reply With Quote
Jun 27, 2002, 02:51 PM
 
Thanks so much for your help! The guy I developed the websites for has a spanish art gallery and so i made him a few websites where he could just type in a new artist, information and artworks. as you can probably imagine, every artist has a lot of artwork, so typing in all the infos is a lot of work and very timeconsuming!
so i installed him apache and php with mysql so he could edit the website at home. now we have to upload the mysql db to the server of his provider. so this is why i asked if it's possible to upload a db.

one big problem though!!!: what is mysqlfront (an app, a command??)

thanks again for all your help guys!
rudy
     
Mac Elite
Join Date: Mar 2002
Location: Clogland
Status: Offline
Reply With Quote
Jun 27, 2002, 03:46 PM
 
</font><blockquote><font size="1" face="Geneva, Verdana, Arial, sans-serif">quote:</font><hr /><font size="1" face="Geneva, Verdana, Arial, sans-serif">Originally posted by rudynorff:
<strong> what is mysqlfront (an app, a command??)
</strong></font><hr /></blockquote><font size="1" face="Geneva, Verdana, Arial, sans-serif"><a href="http://www.anse.de/mysqlfront/" target="_blank">http://www.anse.de/mysqlfront/</a>

An application, I guess you would call it, preferable, in my view, to phpmyadmin, although I have no idea if it works on Mac, I learnt my php mysql stuff on a windows platform, oops.

Anyway, best of luck with your ventures.
     
Junior Member
Join Date: Oct 2000
Location: Germany
Status: Offline
Reply With Quote
Jun 28, 2002, 05:44 AM
 
</font><blockquote><font size="1" face="Geneva, Verdana, Arial, sans-serif">quote:</font><hr /><font size="1" face="Geneva, Verdana, Arial, sans-serif">Originally posted by skalie:
<strong> </font><blockquote><font size="1" face="Geneva, Verdana, Arial, sans-serif">quote:</font><hr /><font size="1" face="Geneva, Verdana, Arial, sans-serif">Originally posted by rudynorff:
<strong> what is mysqlfront (an app, a command??)
</strong></font><hr /></blockquote><font size="1" face="Geneva, Verdana, Arial, sans-serif"><a href="http://www.anse.de/mysqlfront/" target="_blank">http://www.anse.de/mysqlfront/</a>

An application, I guess you would call it, preferable, in my view, to phpmyadmin, although I have no idea if it works on Mac, I learnt my php mysql stuff on a windows platform, oops.

Anyway, best of luck with your ventures.</strong></font><hr /></blockquote><font size="1" face="Geneva, Verdana, Arial, sans-serif">Yeah, it's a windows app i guess. but thanks, the person that is editing the data is using a windows machine, so no problem.

thanks again, rudy
     
   
Thread Tools
Forum Links
Forum 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
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 10:33 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2