Database Management
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsDatabasesDatabase Management

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 April 10th, 2002, 02:22 AM
shleda's Avatar
shleda shleda is offline
Born Looser
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2002
Location: /root
Posts: 272 shleda User rank is First Lieutenant (10000 - 20000 Reputation Level)shleda User rank is First Lieutenant (10000 - 20000 Reputation Level)shleda User rank is First Lieutenant (10000 - 20000 Reputation Level)shleda User rank is First Lieutenant (10000 - 20000 Reputation Level)shleda User rank is First Lieutenant (10000 - 20000 Reputation Level)shleda User rank is First Lieutenant (10000 - 20000 Reputation Level)shleda User rank is First Lieutenant (10000 - 20000 Reputation Level)shleda User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 23 h 14 m 11 sec
Reputation Power: 172
Send a message via MSN to shleda Send a message via Yahoo to shleda Send a message via Google Talk to shleda Send a message via Skype to shleda
Facebook
Unhappy Can I run MySQL/Apache/PHP/Perl from CD ROM?

I was wondering whether I can run Can I run MySQL/Apache/PHP/Perl from CD ROM? from CD ROM?
I need to give a presentation and don't want to carry my hdd along with me. Is there a way Except hosting the files on net to display the php scripting to some one else??
__________________
Kumar Chetan Sharma
-----

_SelfProcclaimedGuru
Hire a LAMP guy.
To err is human. To blame your computer for your mistakes is even more human, it is downright natural.

Reply With Quote
  #2  
Old April 15th, 2002, 12:42 PM
WZA WZA is offline
wizz@linux.be
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2002
Location: belgium
Posts: 30 WZA User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 12
Send a message via ICQ to WZA
in a windowsenvironment i assume?

eitherway, i don't think its possible; the server should be installed.

Maybe an option is to host it yerself?
__________________

Reply With Quote
  #3  
Old April 15th, 2002, 04:46 PM
rycamor rycamor is offline
Gödelian monster
Dev Shed Regular (2000 - 2499 posts)
 
Join Date: Jul 1999
Location: Central Florida, USA
Posts: 2,306 rycamor User rank is Sergeant Major (2000 - 5000 Reputation Level)rycamor User rank is Sergeant Major (2000 - 5000 Reputation Level)rycamor User rank is Sergeant Major (2000 - 5000 Reputation Level)rycamor User rank is Sergeant Major (2000 - 5000 Reputation Level)rycamor User rank is Sergeant Major (2000 - 5000 Reputation Level)rycamor User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 3 Days 6 h 42 m 51 sec
Reputation Power: 60
(Somewhat off-topic, but...) There is a program available at http://www.triplehash.com/content.php?id=26 for turning PHP applications into Windows programs.

However, I don't know if this can go as far as putting a whole MySQL database on the CDROM also. In other words, it might work just fine, as long as your application uses standard PHP functions, etc... but a database is an external application.

If you convert your application to temporarily run from CSV text files, or some other method of "flattening" your data onto the filesystem, then you should be fine, though.

The alternative is to find a way for MySQL to run in read-only mode from the CDROM. That just might be possible, because there has been some work done with using MySQL as an "embedded" database. But it is definitely not a standard MySQL feature. Try asking this question in the MySQL mailing lists.

Another possibility is to setup your application to use ODBC for it's database connectivity. MySQL using ODBC is not as fast as a native MySQL connection, but it abstracts the database details to use standardized Windows data access methods. This means you could change the database to any database supported by Windows, without significantly changing your application. Access 97 pr 2000, for example, could be your solution. I believe there is a run-time Access engine, specifically for this purpose. It doesn't allow database creation or modification of database schema, but it let's the user work with an Access MDB file.

There are all kinds of small proprietary databases made for such purposes also, which support ODBC.
__________________
The real n-tier system:

FreeBSD -> PostgreSQL -> [any_language] -> Apache -> Mozilla/XUL

Amazon wishlist -- rycamor (at) gmail.com

Last edited by rycamor : April 15th, 2002 at 04:49 PM.

Reply With Quote
  #4  
Old April 16th, 2002, 05:27 AM
jdk's Avatar
jdk jdk is offline
phpkid ~~~~~~ :o)
Dev Shed Frequenter (2500 - 2999 posts)
 
Join Date: Nov 2000
Location: NJ, USA
Posts: 2,534 jdk User rank is Lance Corporal (50 - 100 Reputation Level)jdk User rank is Lance Corporal (50 - 100 Reputation Level)jdk User rank is Lance Corporal (50 - 100 Reputation Level) 
Time spent in forums: 11 m 11 sec
Reputation Power: 15
Send a message via Yahoo to jdk
Just check MicroWeb @ http://www.indigostar.com/microweb.htm.

Its a cool product.

It would provide you webserver which would run off the cd which supports PHP and Perl. But you would have to do without MySQL, I guess.

JD
__________________
_____________________________
d.k.jariwala (JD)
~ simple thought, simple act ~
I blog @ http://jdk.phpkid.org

Reply With Quote
  #5  
Old April 16th, 2002, 11:46 AM
shleda's Avatar
shleda shleda is offline
Born Looser
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2002
Location: /root
Posts: 272 shleda User rank is First Lieutenant (10000 - 20000 Reputation Level)shleda User rank is First Lieutenant (10000 - 20000 Reputation Level)shleda User rank is First Lieutenant (10000 - 20000 Reputation Level)shleda User rank is First Lieutenant (10000 - 20000 Reputation Level)shleda User rank is First Lieutenant (10000 - 20000 Reputation Level)shleda User rank is First Lieutenant (10000 - 20000 Reputation Level)shleda User rank is First Lieutenant (10000 - 20000 Reputation Level)shleda User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 23 h 14 m 11 sec
Reputation Power: 172
Send a message via MSN to shleda Send a message via Yahoo to shleda Send a message via Google Talk to shleda Send a message via Skype to shleda
Facebook
Unhappy ok i got 404 kind of errors

Man it was poblem showing things online like i don't have mysql account. How the hell I can show my saome of database skills to some one who may offer me some job?

for both links I got 404 error. I think my ISP is to be blame for this as u must have checked those links



Reply With Quote
  #6  
Old April 16th, 2002, 05:04 PM
rycamor rycamor is offline
Gödelian monster
Dev Shed Regular (2000 - 2499 posts)
 
Join Date: Jul 1999
Location: Central Florida, USA
Posts: 2,306 rycamor User rank is Sergeant Major (2000 - 5000 Reputation Level)rycamor User rank is Sergeant Major (2000 - 5000 Reputation Level)rycamor User rank is Sergeant Major (2000 - 5000 Reputation Level)rycamor User rank is Sergeant Major (2000 - 5000 Reputation Level)rycamor User rank is Sergeant Major (2000 - 5000 Reputation Level)rycamor User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 3 Days 6 h 42 m 51 sec
Reputation Power: 60
No, the problem was Devshed. It added the period at the end of JD's sentence to the link. Just go to http://www.indigostar.com/ and click on the MicroWeb link. For my link above, just go to http://www.triplehash.com/ and click on the Serlient link.

My advice: don't waste too much time on this. Getting a CD-based application to run properly in anyone's computer is a chancy thing. You might get it to run perfectly on your PC, and then go to someone's office and have major trouble with it. It is more impressive if you can put your work online and just have someone browse it. If a business doesn't have a decent web connection, why would you want to work for them anyway?

Reply With Quote
  #7  
Old April 17th, 2002, 12:13 PM
shleda's Avatar
shleda shleda is offline
Born Looser
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2002
Location: /root
Posts: 272 shleda User rank is First Lieutenant (10000 - 20000 Reputation Level)shleda User rank is First Lieutenant (10000 - 20000 Reputation Level)shleda User rank is First Lieutenant (10000 - 20000 Reputation Level)shleda User rank is First Lieutenant (10000 - 20000 Reputation Level)shleda User rank is First Lieutenant (10000 - 20000 Reputation Level)shleda User rank is First Lieutenant (10000 - 20000 Reputation Level)shleda User rank is First Lieutenant (10000 - 20000 Reputation Level)shleda User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 23 h 14 m 11 sec
Reputation Power: 172
Send a message via MSN to shleda Send a message via Yahoo to shleda Send a message via Google Talk to shleda Send a message via Skype to shleda
Facebook
I think rycamor is right

Quote:
If a business doesn't have a decent web connection, why would you want to work for them anyway?

I will really thank u for realising me which kind of fool I am

Quote:
It is more impressive if you can put your work online and just have someone browse it.

But the question is that i don't have some Database webspace for free which i need. Do U know some free php/mysql hosting services as f2g?

Reply With Quote
  #8  
Old April 17th, 2002, 06:29 PM
rycamor rycamor is offline
Gödelian monster
Dev Shed Regular (2000 - 2499 posts)
 
Join Date: Jul 1999
Location: Central Florida, USA
Posts: 2,306 rycamor User rank is Sergeant Major (2000 - 5000 Reputation Level)rycamor User rank is Sergeant Major (2000 - 5000 Reputation Level)rycamor User rank is Sergeant Major (2000 - 5000 Reputation Level)rycamor User rank is Sergeant Major (2000 - 5000 Reputation Level)rycamor User rank is Sergeant Major (2000 - 5000 Reputation Level)rycamor User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 3 Days 6 h 42 m 51 sec
Reputation Power: 60
That's a question to ask in the web hosting forum .

Reply With Quote
  #9  
Old April 19th, 2002, 12:16 AM
caguru's Avatar
caguru caguru is offline
<insert title here>
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2001
Location: at home
Posts: 405 caguru User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 29 m 59 sec
Reputation Power: 13
why not do a mock db? Output you db into a delimited flat file and modify your query statements into file statements. It could be done. Might be more trouble than it's worth though.
just another (probably useless) thought.
__________________
--the key to life is avoiding death--

Reply With Quote
  #10  
Old April 19th, 2002, 11:52 AM
shleda's Avatar
shleda shleda is offline
Born Looser
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2002
Location: /root
Posts: 272 shleda User rank is First Lieutenant (10000 - 20000 Reputation Level)shleda User rank is First Lieutenant (10000 - 20000 Reputation Level)shleda User rank is First Lieutenant (10000 - 20000 Reputation Level)shleda User rank is First Lieutenant (10000 - 20000 Reputation Level)shleda User rank is First Lieutenant (10000 - 20000 Reputation Level)shleda User rank is First Lieutenant (10000 - 20000 Reputation Level)shleda User rank is First Lieutenant (10000 - 20000 Reputation Level)shleda User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 23 h 14 m 11 sec
Reputation Power: 172
Send a message via MSN to shleda Send a message via Yahoo to shleda Send a message via Google Talk to shleda Send a message via Skype to shleda
Facebook
Unhappy Does the all this means I Can't

All the above discussion means I need a webhosting space with MySQL support and I am unable to run MySQL/Apache/PHP/Perl from CD ROM.
OK I can use file functions and use them But the main thing is I wanna show off my DB skills

Reply With Quote
  #11  
Old April 19th, 2002, 12:49 PM
rycamor rycamor is offline
Gödelian monster
Dev Shed Regular (2000 - 2499 posts)
 
Join Date: Jul 1999
Location: Central Florida, USA
Posts: 2,306 rycamor User rank is Sergeant Major (2000 - 5000 Reputation Level)rycamor User rank is Sergeant Major (2000 - 5000 Reputation Level)rycamor User rank is Sergeant Major (2000 - 5000 Reputation Level)rycamor User rank is Sergeant Major (2000 - 5000 Reputation Level)rycamor User rank is Sergeant Major (2000 - 5000 Reputation Level)rycamor User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 3 Days 6 h 42 m 51 sec
Reputation Power: 60
Sorry, but yes, at least for practical purposes. I suppose there is a possibility you can run Apache/MySQL/PHP from a CD, but it would probably take months of compiling, tweaking, and testing, and even then I think it would work on one machine, and not on another.

Honestly, if you browse the hosting forum, you can find PHP/MySQL hosting for as low as $5/month (US). If your time is worth anything, this is much better than wasting days and weeks trying to make a non-standard solution.

Reply With Quote
Reply

Viewing: Dev Shed ForumsDatabasesDatabase Management > Can I run MySQL/Apache/PHP/Perl from CD ROM?

Developer Shed Advertisers and Affiliates



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 | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap