Creating mysql file, help!

SpaceshipSpaceship
Watch

NetworkTown.Net

Account Closed
Impact
2
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:
INSERT INTO `games` ( `gId` , `gInCategory` , `gSwfFile` , `gName` , `gOrder` , `gVisible` , `gThumb` , `gWidth` , `gHeight` , `gDescription` ) VALUES ('', 1, 'pacman2.swf', 'Pacman', 0, 1, 'pacman.jpg', '320', '340', 'As you know it, Pacman!');

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.
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
Unstoppable Domains — AI StorefrontUnstoppable Domains — AI Storefront
Make a script that does it for you, or use phpMyAdmin
 
0
•••
do you have any links or a keyword that i can seacrh for so then i know what im looking for.
 
0
•••
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
 
0
•••
TheArbiter said:
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

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.
 
0
•••
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.
 
0
•••
Just export it and delete the AUTO INCREMENT stuff. That will mess up their database if they try to do anything, though.
 
0
•••
Dynadot — .com TransferDynadot — .com Transfer
CatchedCatched

We're social

Escrow.com
Spaceship
Rexus Domain
CryptoExchange.com
Domain Recover
CatchDoms
NameMaxi - Your Domain Has Buyers
DomDB
NameFit
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back