Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 10-13-2006, 10:09 PM   #1
Danielle
Confirmed User
 
Danielle's Avatar
 
Join Date: Jun 2002
Location: My Coffin
Posts: 1,227
mySQL table editing question?

Anyone know of a script that will load a mySQL table into a spreadsheet view and then allow you to edit all spreadsheet cells and then save the entire table?

Hugs,
Danielle
Danielle is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-13-2006, 10:11 PM   #2
GrouchyAdmin
Now choke yourself!
 
GrouchyAdmin's Avatar
 
Industry Role:
Join Date: Apr 2006
Posts: 12,085
Not as a spreadsheet, but most people do this with PhpMyAdmin.

Honestly, if you just want to do an edit, do a dump, then use your favorite text editor? I suppose you could export it as a CSV type, but that's going to cause issues.
__________________
GrouchyAdmin is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-13-2006, 10:16 PM   #3
GrouchyAdmin
Now choke yourself!
 
GrouchyAdmin's Avatar
 
Industry Role:
Join Date: Apr 2006
Posts: 12,085
Dammit. Here's the homepage. Dunno why I did .org. I blame stupidity.
__________________
GrouchyAdmin is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-13-2006, 10:51 PM   #4
Danielle
Confirmed User
 
Danielle's Avatar
 
Join Date: Jun 2002
Location: My Coffin
Posts: 1,227
Thanks toonpornblog. I use phpmyadmin but it makes you edit one record at a time.

Maybe exporting will work better. hmmmmm....

Hugs,
Danielle
Danielle is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-14-2006, 12:41 AM   #5
Adultnet
Confirmed User
 
Join Date: Sep 2003
Posts: 8,713
try tucows im sure you will find a nice and free mysql editor
__________________


TrafficCashGold Paying Webmasters Since 1996!

Awesome Conversions! Fast Weekly Payments! Over 125 Tours!
Adultnet is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-14-2006, 12:43 AM   #6
bl4h
Confirmed User
 
Join Date: Jul 2006
Location: Philadelphia
Posts: 1,282
why would you need to do that. this is what myslq is all about. Editing entire database with single command
bl4h is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-14-2006, 12:45 AM   #7
teksonline
So Fucking Banned
 
Join Date: Jan 2005
Location: At My Desk
Posts: 2,904
what field are you changing as are they unique? php is a web interface to mysql client, you execute queriues to do bulk changes

<column> has 50004239492942 rows containing <column> = 1
UPDATE <table> SET <column>='5' WHERE <column>='1';
whee all done
teksonline is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-14-2006, 12:47 AM   #8
fetishblog
Confirmed User
 
Join Date: Sep 2005
Location: Your mom is my favorite pornstar!#%
Posts: 5,995
http://www.mysql.com/products/tools/administrator/
__________________

Fling.com doesn't steal your traffic and sales unlike some other dating companies. I promote them, and so should you!
fetishblog is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-14-2006, 12:51 AM   #9
3M TA3
Confirmed User
 
Join Date: Aug 2005
Location: So Cal
Posts: 2,972
hmm, you can always export the entire database in CSV which will be easy to import into excel, however, returning it to mysql will be a little tougher than exporting it.

phpmyadmin will let you mass update multiple tables with a single command and there are a lot of intuitive shortcuts in it.

just don't forget to back up you db before you start playing.
__________________

Dedicated and colo hosting: ICQ 291313057

"A problem cannot be solved from the same consciousness that created it. We must learn to see the world anew." - Albert Einstein
3M TA3 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-14-2006, 01:12 AM   #10
Danielle
Confirmed User
 
Danielle's Avatar
 
Join Date: Jun 2002
Location: My Coffin
Posts: 1,227
Quote:
Originally Posted by bl4h View Post
why would you need to do that. this is what myslq is all about. Editing entire database with single command
Because I want to.

Hugs,
Danielle
Danielle is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-14-2006, 01:15 AM   #11
Danielle
Confirmed User
 
Danielle's Avatar
 
Join Date: Jun 2002
Location: My Coffin
Posts: 1,227
I think I should better describe what I want to do......

I have a table with the following fields.

field 1, field 2, field 3, field 4

I want to view all of the table in a spreadsheet view and be able to edit all the records and fields like you can in Excel. Then save the entire table back.

Hugs,
Danielle
Danielle is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-14-2006, 01:32 AM   #12
teksonline
So Fucking Banned
 
Join Date: Jan 2005
Location: At My Desk
Posts: 2,904
you need database experience or a database admin to do these tasks for you, its a simple but multi-step proccess

connect to mysql client.. if you have shell access to server you can do something like

echo "SELECT field1, field2, field3, field4 FROM <tablename>"|mysql -u<username> -p <databasename> >filename.txt

this will put all those records into filename.txt, then load into spreadsheet selecting proper formatting, might be a space or tab, between fields, i forget
offhand

you need to include the primary key field in your selects so when your done you can use the following commands to re-import

UPDATE <tablename> SET field2 = 'blah', field3 = 'blah' field4='blah' WHERE field1 = 'ID'; based off a written script of some sort that is reading the text file line by line
teksonline is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-14-2006, 01:35 AM   #13
Danielle
Confirmed User
 
Danielle's Avatar
 
Join Date: Jun 2002
Location: My Coffin
Posts: 1,227
Quote:
Originally Posted by teksonline View Post
you need database experience or a database admin to do these tasks for you, its a simple but multi-step proccess

connect to mysql client.. if you have shell access to server you can do something like

echo "SELECT field1, field2, field3, field4 FROM <tablename>"|mysql -u<username> -p <databasename> >filename.txt

this will put all those records into filename.txt, then load into spreadsheet selecting proper formatting, might be a space or tab, between fields, i forget
offhand

you need to include the primary key field in your selects so when your done you can use the following commands to re-import

UPDATE <tablename> SET field2 = 'blah', field3 = 'blah' field4='blah' WHERE field1 = 'ID'; based off a written script of some sort that is reading the text file line by line
To much of a pain in the ass way to do it. That is why I am looking for a script that can do what I want.

Hugs,
Danielle
Danielle is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-14-2006, 01:41 AM   #14
Adultnet
Confirmed User
 
Join Date: Sep 2003
Posts: 8,713
Quote:
Originally Posted by fetishblog View Post
Great tool... Im sure this can do
__________________


TrafficCashGold Paying Webmasters Since 1996!

Awesome Conversions! Fast Weekly Payments! Over 125 Tours!
Adultnet is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-14-2006, 01:44 AM   #15
teksonline
So Fucking Banned
 
Join Date: Jan 2005
Location: At My Desk
Posts: 2,904
I think what you're looking for is a magic wand
teksonline is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-14-2006, 02:00 AM   #16
bl4h
Confirmed User
 
Join Date: Jul 2006
Location: Philadelphia
Posts: 1,282
Quote:
Originally Posted by Danielle View Post
Because I want to.

Hugs,
Danielle
bl4h is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-14-2006, 02:05 AM   #17
dissipate
The Dirty Frenchman
 
dissipate's Avatar
 
Industry Role:
Join Date: Nov 2005
Location: Lost Angeles
Posts: 8,904
Quote:
Originally Posted by toonpornblog View Post
Dammit. Here's the homepage. Dunno why I did .org. I blame stupidity.
Gosh, you're retarded.
dissipate is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-14-2006, 02:25 AM   #18
Danielle
Confirmed User
 
Danielle's Avatar
 
Join Date: Jun 2002
Location: My Coffin
Posts: 1,227
Quote:
Originally Posted by teksonline View Post
I think what you're looking for is a magic wand
Nope.... Just a way to edit a mySQL table in a spreadsheet view.

Hugs,
Danielle
Danielle is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-14-2006, 02:31 AM   #19
V_RocKs
Damn Right I Kiss Ass!
 
Industry Role:
Join Date: Dec 2003
Location: Cowtown, USA
Posts: 32,428
Hugs, Danielle?
V_RocKs is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-14-2006, 08:49 PM   #20
Danielle
Confirmed User
 
Danielle's Avatar
 
Join Date: Jun 2002
Location: My Coffin
Posts: 1,227
bump. Anyone know of a script that will do this?

Hugs,
Danielle
Danielle is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-14-2006, 08:54 PM   #21
BitAudioVideo
Confirmed User
 
Join Date: Jul 2005
Location: USA, Georgia
Posts: 1,246
you could probably find a programmer to write up a simple php script to do this in about 10 minutes
__________________
Hi-Quality Encoding - Bulk Orders - On Time!
http://bitaudiovideo.com
icq 50476697 - aim n3r0xXx
BitAudioVideo is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-14-2006, 08:55 PM   #22
Adultnet
Confirmed User
 
Join Date: Sep 2003
Posts: 8,713
Quote:
Originally Posted by Danielle View Post
bump. Anyone know of a script that will do this?

Hugs,
Danielle
Danielle, you got a good software for this allready posted inisde this topic..
http://www.mysql.com/products/tools/query-browser/
__________________


TrafficCashGold Paying Webmasters Since 1996!

Awesome Conversions! Fast Weekly Payments! Over 125 Tours!
Adultnet is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-14-2006, 08:55 PM   #23
fusionx
Confirmed User
 
Industry Role:
Join Date: Nov 2003
Location: Olongapo City, Philippines
Posts: 4,618
MySQL Tools Query browser

Connect to the DB

Run a query "select * from tablename"

Edit whatever you want to edit

Click Apply Changes at the bottom

Done.
fusionx is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-14-2006, 08:56 PM   #24
Adultnet
Confirmed User
 
Join Date: Sep 2003
Posts: 8,713
Quote:
Originally Posted by Adultnet View Post
Danielle, you got a good software for this allready posted inisde this topic..
http://www.mysql.com/products/tools/query-browser/
comes with a demo...
http://www.mysql.com/products/tools/...edit_rows.html
__________________


TrafficCashGold Paying Webmasters Since 1996!

Awesome Conversions! Fast Weekly Payments! Over 125 Tours!
Adultnet is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-14-2006, 09:31 PM   #25
Danielle
Confirmed User
 
Danielle's Avatar
 
Join Date: Jun 2002
Location: My Coffin
Posts: 1,227
Thanks Adultnet and fusionx!

That looks like what I am looking for. Going to go download it and give it a try.

Hugs,
Danielle
Danielle is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-14-2006, 09:34 PM   #26
Fizzgig
Registered User
 
Fizzgig's Avatar
 
Join Date: Feb 2004
Location: In Your Dreams
Posts: 9,649
Quote:
Originally Posted by toonpornblog View Post
Not as a spreadsheet, but most people do this with PhpMyAdmin.

Honestly, if you just want to do an edit, do a dump, then use your favorite text editor? I suppose you could export it as a CSV type, but that's going to cause issues.
I tried that once and had problems, but I thought it was just me.
__________________
---'-,-{@ Sassy Grrrl @}-'-,---

Fizzgig is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-14-2006, 09:59 PM   #27
Damian_Maxcash
So Fucking Banned
 
Join Date: Oct 2002
Location: MaxCash.com
Posts: 12,745
Have a look at http://navicat.com/

Its a windows prog that hooks into your MySql server and allows to edit tables etc.

Its so much easier than phpmyadmin - when importing large dumps it always times out ect - you can use this and it runs like clock work.

I use it for everything.
Damian_Maxcash is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.