/srv/irclogs.ubuntu.com/2010/11/18/#ubuntu-us-fl.txt

reya276Morning Everyone15:41
reya276does anyone know if there is an app that allows you to extract .zipx files?15:41
maxolasersquadreya276: http://ubuntuforums.org/showpost.php?p=8936071&postcount=615:47
reya276thanks15:56
reya276damn winzip people suck16:14
reya2767Zip is free right16:14
DammitJimyes, 7Zip16:18
DammitJimhow about winrar?16:18
tiemonsterzoopster: ping16:31
zoopsteryo tiemonster16:31
tiemonsterzoopster: hey there. mind if we private message? I have top secret stuff to discuss. ;-)16:31
zoopsternp16:31
reya276hey does anyone know how I can rename a database in MYSQL17:23
mhall119I'm not sure you can, why?17:23
reya276because I have a DB that I need to rename17:23
mhall119why does it need to be renamed?17:24
reya276because I need the same exact Db but with a different name17:24
mhall119create the new db, then run "mysqldump olddbname | mysql newdbname"17:25
reya276oh cool17:28
reya276mhall119, thanks17:33
reya276let me give it a shot17:34
reya276oh wait I have to do this through CLI?17:34
mhall119yeah17:34
mhall119there may be a GUI way to do it17:34
mhall119but CLI will be easier 17:34
reya276how do you connect to the CLI in mysql17:34
mhall119"mysql -u $username -h $hostname --password=$passwd dbname"17:35
mhall119if it's localhost, your mysql username is the same as your login, and you don't have a password set, you can just "mysql dbname"17:35
mhall119mysqldump takes the same parameters17:36
mhall119mysqldump will export all your tables and data as SQL17:36
mhall119mysql (the command) will execute any SQL passed to it's STDIN17:36
mhall119"mysqldump olddb | mysql newdb" sends all of the table and data SQL from olddb, and executes it on newdb17:37
mhall119think of it like backup and restore17:37
reya276ok I ran that command but I just got this "->" afterwards17:39
mhall119paste exactly the command you ran (with password replaced by **** of course)17:39
reya276mysqldump accureports_health | mysql acoreports17:40
mhall119hmmmm....17:40
mhall119-> usually means you didn't end a statement with ;17:40
mhall119but mysqldump should always do that17:40
mhall119is this a big database?17:41
mhall119or relatively small?17:41
reya276ok now I did this mysqldump accureports_health | mysql acoreports; and I got an error17:41
mhall119do "mysqldump accureports_health > accureports_health.sql"17:41
mhall119then view accureports_health.sql17:42
reya276http://paste.ubuntu.com/533930/17:42
mhall119oh, no no no17:42
reya276nope still the same error17:43
mhall119"mysqldump accureports_health | mysql acoreports" gets run from bash17:43
reya276right you mean CLI right17:43
mhall119not from within the mysql client17:43
reya276ok then how do I exot17:43
mhall119when you see "mysql>" that means you're inside the mysql client17:43
reya276exit17:43
mhall119quit;17:43
reya276ok now I got this http://paste.ubuntu.com/533931/17:44
mhall119okay, so you need to specify a username and password to use17:45
mhall119mysqldump -u $username --password=$passwd accureports_health | mysql -u $username --password=$passwd acoreports17:46
tiemonsteror just -p and it will prompt you17:46
tiemonsterthen your mysql password isn't in your bash history17:46
mhall119yes, you can do that too17:46
mhall119you'll be prompted for it twice though, once for mysqldump and again for mysql17:46
tiemonsterI think you may be right17:47
tiemonsterdo we have any graphic designers in the group?17:47
mhall119I think reya276 is good at that17:47
tiemonsterwe're having a logo contest for our open source project17:48
mhall119are the details online?17:48
tiemonsteran angel investor gave us $375 as a cash prize17:48
reya276that is me17:48
tiemonsteryep17:48
mhall119tiemonster: link?17:48
reya276but I have to finish this SQL thing first17:48
tiemonsterhttp://99designs.com/logo-design/contests/professional-looking-logo-web-based-data-analysis-tool-5785417:48
tiemonsterunlimited submissions17:48
reya276mhall119, ok I created the rangeles user in the MYSQL with access as localhost and I still get the same messege17:49
tiemonstersorry - $32517:50
mhall119reya276: you can just use the username and password you already were using to connect via the workbench17:50
reya276ok now I got this http://paste.ubuntu.com/533935/17:54
dantalizingmorning17:54
reya276tiemonster, what does Saiku stand for?17:54
reya276mhall119, do you want me to enter this entire line in the CLI mysqldump -u $username --password=$passwd accureports_health | mysql -u $username --password=$passwd acoreports17:55
reya276or is it one at a time meaining mysqldump -u $username --password=$passwd accureports_health17:56
reya276and then mysql -u $username --password=$passwd acoreports17:56
mhall119reya276: they whole thing17:56
mhall119with the |17:56
mhall119so that the output from mysqldump gets sent to the input for mysql17:57
reya276ok I did that and then I got that last error I sent17:57
reya276http://paste.ubuntu.com/533935/17:57
mhall119take off the .sql17:57
tiemonsterreya276: it's a Japanese knife. it's all explained in the design brief.17:58
reya276mhall119, I remove the .sql and it started to work17:58
mhall119tiemonster: where is the design brief?17:59
mhall119reya276: okay, sounds like it's working now17:59
tiemonstertop left, where it says "read the brief"17:59
mhall119when it's done, you'll have the exact same data in both accureports_health and acoreports databases17:59
mhall119you can drop the old one when you're happy that the new one is correct17:59
reya276tiemonster, as soon as I finish doing this SQL thing I will look at it18:00
mhall119tiemonster: is your school spinning off a startup?18:00
mhall119oh wait, I think I recall you telling us about this18:00
tiemonsteryeah, no.18:00
tiemonsterthis is the open source project I'm contributing to18:00
mhall119ok18:01
mhall119not related to your work then18:01
tiemonsterthey're paying me to contribute18:01
tiemonster30 hrs/week most weeks18:01
mhall119nice18:03
tiemonsterexcept the server-side team has ground to a halt18:03
mhall119you should get stock options on the startup too18:03
tiemonsterI keep asking them to teach me maven so I can contribute on the backend, too18:03
mhall119ugh18:03
mhall119you don't want to learn maven18:03
tiemonsterhave to18:04
tiemonsterwhat's so bad about it?18:04
mhall119you'll find out18:05
mhall119it's a big complex mess18:05
tiemonsterI don't know their reasoning for choosing it18:06
mhall119this is java?18:07
mhall119I'm betting they have a lot of Apache stuff too18:07
tiemonsterjava+tomcat18:07
tiemonsteror *on* tomcat18:07
tiemonsterit builds a WAR file18:07
mhall119Maven, to me, seemed like someone tried to turn Ant into Launchpad18:08
mhall119you know the saying, "XML is like violence, when a little doesn't work use some more"?  That's Maven18:09
mhall119xml + violence18:09
tiemonsterROFL18:11
reya276mhall119, ok it copied all the tables and views but I can't add any information to the table18:17
mhall119what do you mean?18:17
mhall119dantalizing: what's the best way to run multiple wordpress sites without having multiple copies to keep updated?19:00
mhall119if I can keep them isolated, that's be good too, so different users could access their own install, but not the system-wide or other people's installs19:01
tiemonsterreya276: set perms on the new db19:01
reya276tiemonster, it has them19:02
reya276only localhost can connect to it at the moment19:02
reya276and only root user19:03
tiemonsterright - set perms for correct IP19:03
reya276tiemonster, oh yeah once we go live we do that part not until then19:20
dantalizingmhall119: lxc?  there is wordpress mu, but i've never tried it19:27
mhall119I'm thinking I'll just use separate instances, it'll only be for 2 or 3 sites19:27
dantalizingi still like openvz ... but lxc has linus' blessing in the kernel19:28
mhall119yeah, too much hassle for what I need19:28
dantalizingyou could use virt-manager to spawn off some kvms quite easily .. .just more hardware overhead 19:29
zoopstermhall119: I tried multi-site wp...too much hassle19:33
zoopsterI now just update via svn regularly19:33
zoopsterI could automate it, but I haven't19:33
itnet7dantalizing: ping20:37
dorgandoes anyone know how to go to a specific column on a  given line using less?21:04
mhall119dorgan: just ike vi21:07
mhall119the number then capital G21:07
dorganmhall119: never needed to use vi to do that21:07
mhall119oh wait, column...21:07
dorganahh ok21:07
dorganyeah21:07
dorgan:)21:07
mhall119that'll only do line21:07
dorgansomething i am looking at says   [count]|21:08
dorganbut what is count21:08
mhall119yeah, I don't think that's something less can do21:08
mhall119that format is dependent on the program generating the output21:08
dorganahh i figured it out21:09
dorgantype in the column number then hit pipe21:10
=== Michelle is now known as Guest64398
Guest64398iPod irc.  Woot.21:29
govatenthello world!22:16
dantalizingitnet7: pong22:31
dantalizingitnet7: on my way home .. i'll catch up with you later....22:31

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!