Go Back   CodingForums.com > :: Server side development > MySQL

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 07-04-2002, 08:42 AM   PM User | #1
Cloudski
Regular Coder

 
Join Date: Jul 2002
Location: U.S. (Wish Japan though)
Posts: 141
Thanks: 0
Thanked 0 Times in 0 Posts
Cloudski is an unknown quantity at this point
Using MySQL

Well, uh.. I just started this today. I was reading the tutorial on it at webmonkey, but they make it assuming that your computer is being used as a server. Well, I was wondering, after you create the dump file and everything, what do you upload onto the servers to use it?

I really hope I don't need to make my computer the server to use this...
Cloudski is offline   Reply With Quote
Old 07-04-2002, 11:22 PM   PM User | #2
Cloudski
Regular Coder

 
Join Date: Jul 2002
Location: U.S. (Wish Japan though)
Posts: 141
Thanks: 0
Thanked 0 Times in 0 Posts
Cloudski is an unknown quantity at this point
*looks confused* Well, I know the server supports MySQL, they give a tutorial there, but it is slightly hard to understand and such... I guess I will have to try to read it again...

I didn't bye anything... it is a free downlaod at http://www.mysql.com so... I was just wondering what fuiles I needed to upload. I tried just the .dump file, after I did all the creating and such, and it wouldn't work...

Oh well, is it possilbe to use .txt files in replacement if MySQL won't work?
Cloudski is offline   Reply With Quote
Old 07-05-2002, 07:51 AM   PM User | #3
Flamerule
New Coder

 
Join Date: Jun 2002
Location: Paris, France
Posts: 47
Thanks: 0
Thanked 0 Times in 0 Posts
Flamerule is an unknown quantity at this point
Whats your server?

And it is possible to use textfiles to manage data. But it is slower and not very secure.
__________________
I don't suffer from insanity, I enjoy every single minute of it!
Flamerule is offline   Reply With Quote
Old 07-05-2002, 08:37 PM   PM User | #4
Cloudski
Regular Coder

 
Join Date: Jul 2002
Location: U.S. (Wish Japan though)
Posts: 141
Thanks: 0
Thanked 0 Times in 0 Posts
Cloudski is an unknown quantity at this point
The server is http://www.tripod.lycos.co.uk and they allow MySQL, I checked on it... but I am not sure how to use it on the server.... Again, I might just re-read thier tutorial on it...

And right now, all I am using txt files for is basically holding src-code data.... aka if a php page loads usign one variable, it loads a text file with the page source that related ot the variable..

The worst that could happen is they see a page for fanfics in the txt file and not the php page.. *sigh* I am gonna put a protection on the directory so they can't just access the file-list of it...

Thanks for your help
Cloudski is offline   Reply With Quote
Old 07-05-2002, 09:11 PM   PM User | #5
Mouldy_Goat
Regular Coder

 
Join Date: Jul 2002
Location: London, UK
Posts: 126
Thanks: 0
Thanked 0 Times in 0 Posts
Mouldy_Goat is an unknown quantity at this point
If the server your hosted on says that it supports MySQL then you don't need to worry about fiddly binaries or source code downloaded from www.mysql.com, since it should already be installed. They should tell you on the hoster's site how to connect to your database, and often they'll have a nice little tool to help you administer it, like phpMySQLAdmin or something...

Check around on the site first, then if you're still confused and can't figure it out you can always try contacting the web host for support...

I did some poking around the Lycos/Tripod site and sure enough they use phpMySQLAdmin from what I can gather, all you need is to get your details and try finding out where you can login with it... then the rest is easy enough.

Last edited by Mouldy_Goat; 07-07-2002 at 12:24 PM..
Mouldy_Goat is offline   Reply With Quote
Old 07-05-2002, 09:14 PM   PM User | #6
Mouldy_Goat
Regular Coder

 
Join Date: Jul 2002
Location: London, UK
Posts: 126
Thanks: 0
Thanked 0 Times in 0 Posts
Mouldy_Goat is an unknown quantity at this point
Oh and by the way, installing MySQL and Apache can be quite easy, I've heard people saying good things about it, I think you can download a bundle from the Apache site with MySQL included for windows, but I'm not sure.
Mouldy_Goat is offline   Reply With Quote
Old 07-05-2002, 09:54 PM   PM User | #7
whackaxe
Senior Coder

 
Join Date: Jun 2002
Location: paris, france
Posts: 1,216
Thanks: 0
Thanked 0 Times in 0 Posts
whackaxe is an unknown quantity at this point
or you can get phpdev4 which has php, apache and mySQL
and mySQL is a bit difficult to install on windows for the average user(it took me 3 days )
__________________
photoshop too expensive? use the GIMP! www.gimp.org

Last edited by Jeewhizz; 07-06-2002 at 03:03 PM..
whackaxe is offline   Reply With Quote
Old 07-06-2002, 03:05 PM   PM User | #8
Jeewhizz
Regular Coder


 
Join Date: May 2002
Location: London, England
Posts: 369
Thanks: 0
Thanked 0 Times in 0 Posts
Jeewhizz is an unknown quantity at this point
To create or edit a database, the best bet is to download PHPMyAdmin. TO create stuff offline you'll need to install the various packages. Or you could download phpdev which does it all for you

I know which option i'd choose

Have fun,

Jee
__________________
Jeewhizz - MySQL Moderator
http://www.sitehq.co.uk
PHP and MySQL Hosting
Jeewhizz is offline   Reply With Quote
Old 07-07-2002, 07:45 AM   PM User | #9
oracleguy
Rockstar Coder


 
Join Date: Jun 2002
Location: USA
Posts: 9,043
Thanks: 1
Thanked 322 Times in 318 Posts
oracleguy is a jewel in the roughoracleguy is a jewel in the roughoracleguy is a jewel in the rough
Quote:
Originally posted by whackaxe
mySQL is a bit difficult to install on windows for the average user(it took me 3 days )


3 Days?! Jeez... It took me about twenty-five minutes to get MySQL, MyODBC, and phpMyAdmin running.
__________________
OracleGuy
oracleguy is offline   Reply With Quote
Old 07-07-2002, 11:28 AM   PM User | #10
whackaxe
Senior Coder

 
Join Date: Jun 2002
Location: paris, france
Posts: 1,216
Thanks: 0
Thanked 0 Times in 0 Posts
whackaxe is an unknown quantity at this point
not 3 whole days, about 3hours actually when i was dealing with it. i was getting error messages saying my password was incorrect when i had set it. i think that what i had done was set the password for root@% and not root@localhost which are differnet i suppose. in the end i used mysql GUI to sort all that out and everything was peachy!
__________________
photoshop too expensive? use the GIMP! www.gimp.org
whackaxe is offline   Reply With Quote
Old 07-08-2002, 07:59 PM   PM User | #11
oracleguy
Rockstar Coder


 
Join Date: Jun 2002
Location: USA
Posts: 9,043
Thanks: 1
Thanked 322 Times in 318 Posts
oracleguy is a jewel in the roughoracleguy is a jewel in the roughoracleguy is a jewel in the rough
Quote:
Originally posted by whackaxe
i was getting error messages saying my password was incorrect
I had a similar problem too.
oracleguy is offline   Reply With Quote
Old 07-10-2002, 12:26 AM   PM User | #12
gorilla1
Regular Coder

 
Join Date: Jun 2002
Posts: 544
Thanks: 0
Thanked 0 Times in 0 Posts
gorilla1 is an unknown quantity at this point
Jeewhiz mentioned phpadmin... I am working with a server where I can only see files thru ftp. I have no command line access, and therefore cannot use the command line to create a database. I am also limited to 50mb of storage. Judging from the info on phpadmin, there appears to be tens of thousands of files in that package - alll of which I would have to move vai ftp. I would love to have the tool, but it may not be practical. All I need to do is get the few commands done needed to create a database. Are there any scripts or more modest programs available to do this? Can it be done by a progrmm at all (I guess the answer has to be yes, since phpadmin can do it).
I have hunted around, but have not turned up much other than descriptions of the command line way of doing it.

G
gorilla1 is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
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

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

Forum Jump


All times are GMT +1. The time now is 10:39 PM.


Advertisement
Log in to turn off these ads.