NamePros
Welcome, Guest! Ready to make a name for yourself in the domain business? We welcome both the hobbyist and professional domainer to join the discussion as part of the NamePros community.

Click here to create your profile to start earning reputation for posting, and trader ratings for buying & selling in our free e-marketplace. Build your trader rating with each successful sale. Our system has tracked over 100,000 sales and counting!
FAQ & TOS Register Search Today's Posts Mark Forums Read

Go Back   NamePros.com > Website Development Discussion Forums > Programming
Reload this Page creating mysql file, help!

Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics.

Advanced Search


Closed Thread
 
LinkBack Thread Tools
Old 10-15-2006, 03:39 AM THREAD STARTER               #1 (permalink)
Account Closed
Join Date: Oct 2005
Location: United Kingdom
Posts: 1,554
NetworkTown.Net is just really niceNetworkTown.Net is just really niceNetworkTown.Net is just really niceNetworkTown.Net is just really nice
 



creating mysql file, help!


Hi

I have a DB of content around 1500 content in one table, i need to know how i can export it so when i give it to my users they can run it in mysql and it will add it to there db, since export function is useless it dose not export they way i need it, i need it so it is runable for all users. i.e i need it like this:

PHP Code:
INSERT INTO `games` ( `gId` , `gInCategory` , `gSwfFile` , `gName` , `gOrder` , `gVisible` , `gThumb` , `gWidth` , `gHeight` , `gDescription` ) VALUES (''1'pacman2.swf''Pacman'01'pacman.jpg''320''340''As you know it, Pacman!'); 
????: NamePros.com http://www.namepros.com/programming/247421-creating-mysql-file-help.html
i need it like that, how do the big companys do it? like GS, GSS, whmcs ect how do they create the sql im sure they dont go thou every thing and type it out there is a quick way to do it, but i dont know how im sure one of you will know.
NetworkTown.Net is offline  
Old 10-15-2006, 03:53 AM   #2 (permalink)
Senior Member
 
Barrucadu's Avatar
Join Date: Aug 2005
Location: East Yorkshire, England
Posts: 2,689
Barrucadu is a splendid one to beholdBarrucadu is a splendid one to beholdBarrucadu is a splendid one to beholdBarrucadu is a splendid one to beholdBarrucadu is a splendid one to beholdBarrucadu is a splendid one to beholdBarrucadu is a splendid one to behold
 




Make a script that does it for you, or use phpMyAdmin
Barrucadu is offline  
Old 10-15-2006, 04:02 AM THREAD STARTER               #3 (permalink)
Account Closed
Join Date: Oct 2005
Location: United Kingdom
Posts: 1,554
NetworkTown.Net is just really niceNetworkTown.Net is just really niceNetworkTown.Net is just really niceNetworkTown.Net is just really nice
 



do you have any links or a keyword that i can seacrh for so then i know what im looking for.
NetworkTown.Net is offline  
Old 10-15-2006, 04:11 AM   #4 (permalink)
Joe
Senior Member
Join Date: Oct 2005
Location: Kent ~ U.K.
Posts: 3,209
Joe has much to be proud ofJoe has much to be proud ofJoe has much to be proud ofJoe has much to be proud ofJoe has much to be proud ofJoe has much to be proud ofJoe has much to be proud ofJoe has much to be proud ofJoe has much to be proud ofJoe has much to be proud of
 


Save The Children Help The Homeless - Holiday 2009 Help The Homeless - Holiday 2009 Help The Homeless - Holiday 2009 Help The Homeless - Holiday 2009
if you use cpanel
go to the mysql page
go to the bottom and click on phpMyAdmin
then, from the dropdown on the left, select your database

now you can create/modify/delete and also add rows

Joe
__________________
Myself and "JackHeskett" are no longer associated with FusedHosting.net. Please pipe all PMs to admin [at] fusedhosting.net.
Joe is offline  
Old 10-15-2006, 04:38 AM THREAD STARTER               #5 (permalink)
Account Closed
Join Date: Oct 2005
Location: United Kingdom
Posts: 1,554
NetworkTown.Net is just really niceNetworkTown.Net is just really niceNetworkTown.Net is just really niceNetworkTown.Net is just really nice
 



Originally Posted by TheArbiter
if you use cpanel
????: NamePros.com http://www.namepros.com/showthread.php?t=247421
go to the mysql page
go to the bottom and click on phpMyAdmin
then, from the dropdown on the left, select your database

now you can create/modify/delete and also add rows

Joe
I dont think you understood, i know how to use phpmyadmin, i need to create the sql for my db so other users can use it when i do export it dont work since some rows have auto-incresment.
NetworkTown.Net is offline  
Old 10-15-2006, 12:11 PM THREAD STARTER               #6 (permalink)
Account Closed
Join Date: Oct 2005
Location: United Kingdom
Posts: 1,554
NetworkTown.Net is just really niceNetworkTown.Net is just really niceNetworkTown.Net is just really niceNetworkTown.Net is just really nice
 



ok look basicly i need to know how to export my db without the auto-increasment numbers. but i need '' to be there in stead of it.
NetworkTown.Net is offline  
Old 10-15-2006, 07:34 PM   #7 (permalink)
Dan
Buy my domains.
 
Dan's Avatar
Join Date: Feb 2006
Posts: 2,796
Dan has a brilliant futureDan has a brilliant futureDan has a brilliant futureDan has a brilliant futureDan has a brilliant futureDan has a brilliant futureDan has a brilliant futureDan has a brilliant futureDan has a brilliant futureDan has a brilliant futureDan has a brilliant future
 


Autism Autism Autism Autism Autism Autism Autism
Just export it and delete the AUTO INCREMENT stuff. That will mess up their database if they try to do anything, though.
Dan is offline  
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools


Liquid Web Smart Servers  
All times are GMT -7. The time now is 01:13 AM.

Managed Web Hosting by Liquid Web
Domain name forum recommended by Domaining.com Powered by: vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.6.0 Ad Management plugin by RedTyger