mysqlrowcopy 1.0
Sponsored Links
Sponsored Links
Secleted [ 0 ] software to compare
Results 1 - 15 of about 3041
mysqlrowcopy 1.0
mysqlrowcopy is a tool that generates insert statements from result sets. more>>
mysqlrowcopy is a tool that generates insert statements from result sets. It produces output similar to what might result from running mysqldump on a single SELECT query.
This project helps eliminate some of the tedium of moving data between QA and production MySQL databases.
Build:
To build mysqlrowcopy, you should run:
./configure
make
A mysqlrowcopy and mysqlrowcopy.debug file are created. They have identical functionality, the .debug version simply has debugging symbols built in (for gdb).
Since mysqlrowcopy is probably going to be I/O bound with modest CPU and RAM usage, the only reason to even build a 64-bit version is to work around potential issues in dynamic linking 32-bit binaries against 64-bit libraries.
RECIPES
1. Migrating a MySQL user account reaper from QA server to a production server.
e.g. MySQL database server qa3.example.com to prod1.example.com:
$ mysqlrowcopy -h qa3.example.com
SELECT * FROM db WHERE User = "reaper" mysql db > reaper.sql
$ mysql -h prod1.example.com mysql < reaper.sql
You could of course simply pipe the output of mysqlrowcopy into mysql and skip the intermediate file.
(Dont forget to RELOAD PRIVILEGES afterwards)
2. Keep your test environment up to date. Populate it with production data every 24 hours. You could run this sequence from cron once a day:
$ mysqlrowcopy -h finance-db.example.com
SELECT * FROM stocks WHERE modified > DATE_SUB(NOW(),INTERVAL 24 HOUR)
finance stocks > day-stocks.sql
$ cat day-stocks.sql | mysql -h finance-test.example.com finance
3. Copy data between tables on different servers that have some similar fields.
Youve got common data in table Zip on a production database:
mysql> desc Zip;
+-------------+-------------+------+-----+---------+-------+
| Field | Type | Null | Key | Default | Extra |
+-------------+-------------+------+-----+---------+-------+
| ZIPCode | varchar(5) | | PRI | | |
| ZIPCodeType | char(1) | YES | | NULL | |
| City | varchar(32) | YES | | NULL | |
| CityType | char(1) | YES | | NULL | |
| State | varchar(32) | YES | | NULL | |
| StateCode | char(3) | YES | | NULL | |
| AreaCode | char(3) | YES | | NULL | |
| Latitude | varchar(12) | YES | | NULL | |
| Longitude | varchar(12) | YES | | NULL | |
+-------------+-------------+------+-----+---------+-------+
9 rows in set (0.00 sec)
And youve got table ZipPosition in a research database:
mysql> desc ZipPosition;
+-------------+-------------+------+-----+---------+-------+
| Field | Type | Null | Key | Default | Extra |
+-------------+-------------+------+-----+---------+-------+
| ZIPCode | varchar(5) | | | | |
| Latitude | varchar(12) | YES | | NULL | |
| Longitude | varchar(12) | YES | | NULL | |
+-------------+-------------+------+-----+---------+-------+
3 rows in set (0.00 sec)
You want to load data from production Zip into research ZipPosition.
$ mysqlrowcopy -h production SELECT ZIPCode,Latitude,Longitude common ZipPosition > pos.sql
$ cat pos.sql | mysql -h qa research
Note how we specify ZipPosition on the first line to tell mysqlrowcopy what the destination table is going to be.
<<lessThis project helps eliminate some of the tedium of moving data between QA and production MySQL databases.
Build:
To build mysqlrowcopy, you should run:
./configure
make
A mysqlrowcopy and mysqlrowcopy.debug file are created. They have identical functionality, the .debug version simply has debugging symbols built in (for gdb).
Since mysqlrowcopy is probably going to be I/O bound with modest CPU and RAM usage, the only reason to even build a 64-bit version is to work around potential issues in dynamic linking 32-bit binaries against 64-bit libraries.
RECIPES
1. Migrating a MySQL user account reaper from QA server to a production server.
e.g. MySQL database server qa3.example.com to prod1.example.com:
$ mysqlrowcopy -h qa3.example.com
SELECT * FROM db WHERE User = "reaper" mysql db > reaper.sql
$ mysql -h prod1.example.com mysql < reaper.sql
You could of course simply pipe the output of mysqlrowcopy into mysql and skip the intermediate file.
(Dont forget to RELOAD PRIVILEGES afterwards)
2. Keep your test environment up to date. Populate it with production data every 24 hours. You could run this sequence from cron once a day:
$ mysqlrowcopy -h finance-db.example.com
SELECT * FROM stocks WHERE modified > DATE_SUB(NOW(),INTERVAL 24 HOUR)
finance stocks > day-stocks.sql
$ cat day-stocks.sql | mysql -h finance-test.example.com finance
3. Copy data between tables on different servers that have some similar fields.
Youve got common data in table Zip on a production database:
mysql> desc Zip;
+-------------+-------------+------+-----+---------+-------+
| Field | Type | Null | Key | Default | Extra |
+-------------+-------------+------+-----+---------+-------+
| ZIPCode | varchar(5) | | PRI | | |
| ZIPCodeType | char(1) | YES | | NULL | |
| City | varchar(32) | YES | | NULL | |
| CityType | char(1) | YES | | NULL | |
| State | varchar(32) | YES | | NULL | |
| StateCode | char(3) | YES | | NULL | |
| AreaCode | char(3) | YES | | NULL | |
| Latitude | varchar(12) | YES | | NULL | |
| Longitude | varchar(12) | YES | | NULL | |
+-------------+-------------+------+-----+---------+-------+
9 rows in set (0.00 sec)
And youve got table ZipPosition in a research database:
mysql> desc ZipPosition;
+-------------+-------------+------+-----+---------+-------+
| Field | Type | Null | Key | Default | Extra |
+-------------+-------------+------+-----+---------+-------+
| ZIPCode | varchar(5) | | | | |
| Latitude | varchar(12) | YES | | NULL | |
| Longitude | varchar(12) | YES | | NULL | |
+-------------+-------------+------+-----+---------+-------+
3 rows in set (0.00 sec)
You want to load data from production Zip into research ZipPosition.
$ mysqlrowcopy -h production SELECT ZIPCode,Latitude,Longitude common ZipPosition > pos.sql
$ cat pos.sql | mysql -h qa research
Note how we specify ZipPosition on the first line to tell mysqlrowcopy what the destination table is going to be.
Download (0.021MB)
Added: 2007-03-01 License: GPL (GNU General Public License) Price:
967 downloads
mssqldump 1.0
mssqldump.php is a PHP script that dumps a Microsoft SQL Server database into a SQL script. more>>
mssqldump.php is a PHP script that dumps a Microsoft SQL Server database into a SQL script. The project can also dump a table into CSV format.
<<less Download (0.003MB)
Added: 2006-12-06 License: GPL (GNU General Public License) Price:
620 downloads
Download (0.70MB)
Added: 2007-01-04 License: The Apache License Price:
1023 downloads
MyFileNote 1.0
MyFileNote is service menu which will create a txt-file for a file or directory and opens it in your text editor. more>>
MyFileNote is a KDE service menu.
MyFileNote is a small, single-purpose service menu which will create a txt-file for a file or directory and opens it in your text editor (default kwrite).
No need for extra Software or "big" Databases of your files or some other imho overkills if you just want some notes.
It is really helpfull to have more infos on the files on your computer!
I use it very often for description of stuff i download from Websites or projects to-dos etc. .
Example:
you have just downloadet a file example.zip and you may want to remember where you get it.
Rightclick it -> Actions -> MyFileNote
It now opens Kwrite and you can copy-paste the url there.
The txt-files name is example.zip.txt in the same directory where example.zip is.
If you want to enter additional stuff it is no problem because a existing example.zip.txt will be used so you can just add your text!
Install:
Extract and then:
Just for your User: Copy MyFileNote.desktop to "/home/USERNAME/.kde/share/apps/konqueror/servicemenus/"
For all Users(do as root): Copy MyFileNote.desktop to "/usr/share/apps/konqueror/servicemenus/"
Notes:
If you want to use another editor (I for example prefer Kate) you have to edit MyFileNote.desktop and replace all "kwrite" with "kate".
Any comments welcome.
<<lessMyFileNote is a small, single-purpose service menu which will create a txt-file for a file or directory and opens it in your text editor (default kwrite).
No need for extra Software or "big" Databases of your files or some other imho overkills if you just want some notes.
It is really helpfull to have more infos on the files on your computer!
I use it very often for description of stuff i download from Websites or projects to-dos etc. .
Example:
you have just downloadet a file example.zip and you may want to remember where you get it.
Rightclick it -> Actions -> MyFileNote
It now opens Kwrite and you can copy-paste the url there.
The txt-files name is example.zip.txt in the same directory where example.zip is.
If you want to enter additional stuff it is no problem because a existing example.zip.txt will be used so you can just add your text!
Install:
Extract and then:
Just for your User: Copy MyFileNote.desktop to "/home/USERNAME/.kde/share/apps/konqueror/servicemenus/"
For all Users(do as root): Copy MyFileNote.desktop to "/usr/share/apps/konqueror/servicemenus/"
Notes:
If you want to use another editor (I for example prefer Kate) you have to edit MyFileNote.desktop and replace all "kwrite" with "kate".
Any comments welcome.
Download (MB)
Added: 2007-03-13 License: GPL (GNU General Public License) Price:
955 downloads
SnowIsh 1.0
SnowIsh provides a Mac-inspired icon theme. more>>
SnowIsh provides a Mac-inspired icon theme.
Also greatly inspired by VannillA Cream Icon Set made by djnjpendragon.
Again, all done with inkscape.
Version restrictions:
- Beautiful icons, but the gtk-media-previous-ltr icon is missing from both the PNG and SVG sets (it should be a copy of gtk-media-next-rtl). Also, the Trash icon doesnt show up at large sizes - the fallback is used instead.
Enhancements:
- Add a PNG version (faster)
<<lessAlso greatly inspired by VannillA Cream Icon Set made by djnjpendragon.
Again, all done with inkscape.
Version restrictions:
- Beautiful icons, but the gtk-media-previous-ltr icon is missing from both the PNG and SVG sets (it should be a copy of gtk-media-next-rtl). Also, the Trash icon doesnt show up at large sizes - the fallback is used instead.
Enhancements:
- Add a PNG version (faster)
Download (MB)
Added: 2007-03-02 License: GPL (GNU General Public License) Price:
969 downloads
amarokVis 1.0
amarokVis is a KDE applet for libvisual using opengl. more>>
amarokVis is a KDE applet for libvisual using opengl.
Orginally written to work with amaroks libvisual socket however due to some limitations I just made the input default to alsa.
So any app piping sound through alsa will make the visuals dance. I was going to change the name but meh, not a big deal.
Usage:
Just add it to a panel and watch the fun. If you click the visualization itll bring up a popup box to select from available plugins.
Pretty simple and straightforward.
Beware though some plugins(actors) tend to be buggy and are likely to crash your kicker.
If that happens just restart your kicker and choose another plugin that doesnt.
<<lessOrginally written to work with amaroks libvisual socket however due to some limitations I just made the input default to alsa.
So any app piping sound through alsa will make the visuals dance. I was going to change the name but meh, not a big deal.
Usage:
Just add it to a panel and watch the fun. If you click the visualization itll bring up a popup box to select from available plugins.
Pretty simple and straightforward.
Beware though some plugins(actors) tend to be buggy and are likely to crash your kicker.
If that happens just restart your kicker and choose another plugin that doesnt.
Download (0.62MB)
Added: 2007-03-09 License: GPL (GNU General Public License) Price:
960 downloads
Jscroll 1.0.2
JScroll is a swing component for Java that provides a virtual desktop pane. more>>
JScroll is a swing component for Java that provides a virtual desktop pane.
It provides a virtual desktop replete with dynamic scroll bars, dynamic menus, and dynamic button shortcuts.
The JScrollDesktopPane class surmounts the limitations of the original JDesktopPane Swing component, offering a solution to the clipping and overlap problems inherit to said component, and mimics the interface of the original JDesktopPane to provide an easy upgrade path.
It provides a scrolling MDI desktop, one of the most requested features to the Java JDK.
<<lessIt provides a virtual desktop replete with dynamic scroll bars, dynamic menus, and dynamic button shortcuts.
The JScrollDesktopPane class surmounts the limitations of the original JDesktopPane Swing component, offering a solution to the clipping and overlap problems inherit to said component, and mimics the interface of the original JDesktopPane to provide an easy upgrade path.
It provides a scrolling MDI desktop, one of the most requested features to the Java JDK.
Download (0.024MB)
Added: 2006-09-27 License: GPL (GNU General Public License) Price:
1123 downloads
Sqliteman 1.0
Sqliteman is the best developers and/or admins GUI tool for Sqlite3 in the world. more>>
Sqliteman is the best developers and/or admins GUI tool for Sqlite3 in the world. No joking here (or just a bit only) - it contains the most complette feature set of all tools available. And its just the beginning...
Sqliteman is a Qt4 based GPLv2 application near the first stable release. The project has almost all planned features implemented. When it fills its feature list there will be a "stabilization" phase to catch all possible bugs.
But you can use Sqliteman as is. I do it regulary with no data loss.
<<lessSqliteman is a Qt4 based GPLv2 application near the first stable release. The project has almost all planned features implemented. When it fills its feature list there will be a "stabilization" phase to catch all possible bugs.
But you can use Sqliteman as is. I do it regulary with no data loss.
Download (0.10MB)
Added: 2007-07-19 License: GPL (GNU General Public License) Price:
831 downloads
CsvToSql 3.1.0
CsvToSql a java based highly configurable and expandible conversion tool and library. more>>
CsvToSql a java based highly configurable and expandable conversion tool and library. You can define the structure of data how render and where write it through a descriptor. CsvToSql project is compatible with the most common rdbms.
csvToSql mission:
- convert csv files to sql statements.
input:
- can read data from comma separated value file
- can read data from excel files
multiple output:
- can write list of sql statements to console
- can create text file with the list of sql statements
- can store data to jdbc resource (database)
How it Works ?
Can be used as library or as standalone program, using csvtosql as a library is very simple, documentation can be found in tutorial section.
Csvtosql provide two frontends for using it as program, executing jar or class net.sf.csv2sql.frontends.gui.simple.SimpleGui a gui will appear. Or you can also use net.sf.csv2sql.frontends.console.ConsoleMain for console version.
<<lesscsvToSql mission:
- convert csv files to sql statements.
input:
- can read data from comma separated value file
- can read data from excel files
multiple output:
- can write list of sql statements to console
- can create text file with the list of sql statements
- can store data to jdbc resource (database)
How it Works ?
Can be used as library or as standalone program, using csvtosql as a library is very simple, documentation can be found in tutorial section.
Csvtosql provide two frontends for using it as program, executing jar or class net.sf.csv2sql.frontends.gui.simple.SimpleGui a gui will appear. Or you can also use net.sf.csv2sql.frontends.console.ConsoleMain for console version.
Download (1.7MB)
Added: 2006-10-24 License: LGPL (GNU Lesser General Public License) Price:
1100 downloads
Foopanel 0.1.0
Foopanel is a desktop panel that is themable and extensible through plugins. more>>
Foopanel is a desktop panel that is themable and extensible through plugins.
Foopanel is a powerful desktop panel that enables you to have all that you want just one-click-far. It is extensible through Plugins and fully themeable.
Foopanel differs from the XFCEs panel (and also by the GNOME panel) because: it is written in Python, a great and powerful interpreted language that make it very easy to write plugins: these do not need any particular compilation or installation, they are plain text files that must be placed in the right directory.
Nothing more to do. Its appearence can easily be customized, by using a theme of those available or by writing a custom one.
<<lessFoopanel is a powerful desktop panel that enables you to have all that you want just one-click-far. It is extensible through Plugins and fully themeable.
Foopanel differs from the XFCEs panel (and also by the GNOME panel) because: it is written in Python, a great and powerful interpreted language that make it very easy to write plugins: these do not need any particular compilation or installation, they are plain text files that must be placed in the right directory.
Nothing more to do. Its appearence can easily be customized, by using a theme of those available or by writing a custom one.
Download (0.018MB)
Added: 2006-03-16 License: GPL (GNU General Public License) Price:
1318 downloads
SimBar 1.0
SimBar project is a fast and customizable dockbar for Linux. more>>
SimBar project is a fast and customizable dockbar for Linux.
SimBar is a fast and customizable dockbar. Allows the user to launch applications showing some eye-candy animation. It is written in c++ and wxWidgets and fits well in Gnome but works on most desktop environments. Does not require Compiz nor 3D acceleration.
<<lessSimBar is a fast and customizable dockbar. Allows the user to launch applications showing some eye-candy animation. It is written in c++ and wxWidgets and fits well in Gnome but works on most desktop environments. Does not require Compiz nor 3D acceleration.
Download (0.24MB)
Added: 2007-06-15 License: GPL (GNU General Public License) Price:
866 downloads
kmplot 1.0
kmplot is a mathematical function plotter for the KDE desktop. more>>
Kmplot is a mathematical function plotter for the KDE-Desktop. It has built in a powerfull parser.
You can plot different functions simultaneously and combine their function terms to build new functions.
Kmplot supports functions with parameters and functions in polar coordinates. Several grid modes are possible. Plots may be printed with high precision in correct scale.
<<lessYou can plot different functions simultaneously and combine their function terms to build new functions.
Kmplot supports functions with parameters and functions in polar coordinates. Several grid modes are possible. Plots may be printed with high precision in correct scale.
Download (0.50MB)
Added: 2005-09-13 License: GPL (GNU General Public License) Price:
1514 downloads
Wchange 1.0
Wchange provides a very simple wallpaper changer. more>>
Wchange provides a very simple wallpaper changer.
It requires only java runtime environment (JRE) and gconftool-2.
Usage:
java Wchange /home/folder/pictures/ seconds [random]
Where:
/home/folder/pictures/ is the directory where are wallpapers
seconds is how much time the system will wait between wallpaper switching
random (optional) use it only if you want wallpaper random switching
<<lessIt requires only java runtime environment (JRE) and gconftool-2.
Usage:
java Wchange /home/folder/pictures/ seconds [random]
Where:
/home/folder/pictures/ is the directory where are wallpapers
seconds is how much time the system will wait between wallpaper switching
random (optional) use it only if you want wallpaper random switching
Download (0.003MB)
Added: 2007-03-29 License: GPL (GNU General Public License) Price:
940 downloads
FZoom 1.0.1
FZoom is a fancy zoom. more>>
FancyZoom is a fancy zoom. Actually it is not really that fancy.
I was surfing the net on my machine at home (equipped with a 14 inch monitor) and some of the icons were just too small to be interpreted into something recognizable by my strained eyes and thus FancyZoom was born.
<<lessI was surfing the net on my machine at home (equipped with a 14 inch monitor) and some of the icons were just too small to be interpreted into something recognizable by my strained eyes and thus FancyZoom was born.
Download (0.039MB)
Added: 2005-09-18 License: GPL (GNU General Public License) Price:
840 downloads
BlankOn 1.0
BlankOn is a Gnome icon theme and are the default icon theme for BlankOn Linux. more>>
BlankOn is a Gnome icon theme and they are the default icon theme for BlankOn Linux.
<<less Download (0.61MB)
Added: 2005-11-17 License: GPL (GNU General Public License) Price:
1441 downloads
Secleted [ 0 ] software to compare
Copyright Notice:
Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future software development. The above mysqlrowcopy 1.0 search only lists software in full, demo and trial versions for free download. Download links are directly from our mirror sites or publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed