|
|
|
||||
|
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. |
![]() |
|
|||||||
| Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
|
Thread Tools |
|
|
#1 |
|
Confirmed User
Join Date: Jun 2002
Location: My Coffin
Posts: 1,227
|
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 |
|
|
|
|
|
#2 |
|
Now choke yourself!
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.
__________________
|
|
|
|
|
|
#3 |
|
Now choke yourself!
Industry Role:
Join Date: Apr 2006
Posts: 12,085
|
Dammit. Here's the homepage. Dunno why I did .org. I blame stupidity.
__________________
|
|
|
|
|
|
#4 |
|
Confirmed User
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 |
|
|
|
|
|
#5 |
|
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! |
|
|
|
|
|
#6 |
|
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
|
|
|
|
|
|
#7 |
|
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 |
|
|
|
|
|
#9 |
|
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 |
|
|
|
|
|
#10 |
|
Confirmed User
Join Date: Jun 2002
Location: My Coffin
Posts: 1,227
|
|
|
|
|
|
|
#11 |
|
Confirmed User
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 |
|
|
|
|
|
#12 |
|
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 |
|
|
|
|
|
#13 | |
|
Confirmed User
Join Date: Jun 2002
Location: My Coffin
Posts: 1,227
|
Quote:
Hugs, Danielle |
|
|
|
|
|
|
#14 | |
|
Confirmed User
Join Date: Sep 2003
Posts: 8,713
|
Quote:
__________________
![]() TrafficCashGold Paying Webmasters Since 1996! Awesome Conversions! Fast Weekly Payments! Over 125 Tours! |
|
|
|
|
|
|
#15 |
|
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
|
|
|
|
|
|
#16 |
|
Confirmed User
Join Date: Jul 2006
Location: Philadelphia
Posts: 1,282
|
|
|
|
|
|
|
#17 | |
|
The Dirty Frenchman
Industry Role:
Join Date: Nov 2005
Location: Lost Angeles
Posts: 8,904
|
Quote:
|
|
|
|
|
|
|
#18 |
|
Confirmed User
Join Date: Jun 2002
Location: My Coffin
Posts: 1,227
|
|
|
|
|
|
|
#19 |
|
Damn Right I Kiss Ass!
Industry Role:
Join Date: Dec 2003
Location: Cowtown, USA
Posts: 32,428
|
Hugs, Danielle?
|
|
|
|
|
|
#20 |
|
Confirmed User
Join Date: Jun 2002
Location: My Coffin
Posts: 1,227
|
bump. Anyone know of a script that will do this?
Hugs, Danielle |
|
|
|
|
|
#21 |
|
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 |
|
|
|
|
|
#22 | |
|
Confirmed User
Join Date: Sep 2003
Posts: 8,713
|
Quote:
http://www.mysql.com/products/tools/query-browser/
__________________
![]() TrafficCashGold Paying Webmasters Since 1996! Awesome Conversions! Fast Weekly Payments! Over 125 Tours! |
|
|
|
|
|
|
#23 |
|
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. |
|
|
|
|
|
#24 | |
|
Confirmed User
Join Date: Sep 2003
Posts: 8,713
|
Quote:
http://www.mysql.com/products/tools/...edit_rows.html
__________________
![]() TrafficCashGold Paying Webmasters Since 1996! Awesome Conversions! Fast Weekly Payments! Over 125 Tours! |
|
|
|
|
|
|
#25 |
|
Confirmed User
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 |
|
|
|
|
|
#26 | |
|
Registered User
Join Date: Feb 2004
Location: In Your Dreams
Posts: 9,649
|
Quote:
|
|
|
|
|
|
|
#27 |
|
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. |
|
|
|