Re: Administrative Tools

2007-06-04 Thread Martijn Tonies
> Hello > > I am looking for the tools that I would use to be able to do administrative duties and to be able to create and update databases (tables, indexes and so forth). I would rather do this than do it via a command line. I would appreciate any links available. > If you're on Windows, you m

Re: Diff between restore from tar and recover from power outage

2007-06-04 Thread Scott Tanner
If mysql has been shut down, and given enough time for the tables to be flushed to disk, then backing up the data dir using tar is fine. You can tar the data dir without shutting down, providing all transactions have been stopped and the tables have been flushed to disk. This is how we backup ou

RE: Administrative Tools

2007-06-04 Thread Tim Lucia
I'm partial to SQLYog. http://www.webyog.com/ -- community and enterprise editions are available. Former is free, latter is cheap. Tim > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Monday, June 04, 2007 2:17 PM > To: mysql@lists.mysql.com > Subject: Ad

Re: MySQL Magazine - Issue 1 available NOW!!!!

2007-06-04 Thread Jon Ribbens
On Mon, Jun 04, 2007 at 02:44:25PM -0700, Daevid Vincent wrote: > Thanks for the magazine. I already incorporated a little extra SQL > injection checking into my db.inc.php wrapper... > > //[dv] added to remove all comments (which may help with SQL injections > as well. > $sql = preg_replace("/#.*

RE: MySQL Magazine - Issue 1 available NOW!!!!

2007-06-04 Thread Daevid Vincent
Well, they're PHP syntax to go along with the article about SQL injection. According to this page: http://dev.mysql.com/doc/refman/5.0/en/comments.html There are basically three styles of comments. I just have a wrapper class for all my SQL queries (db.inc.php) and I added a little cleaning cod

Re: MySQL Magazine - Issue 1 available NOW!!!!

2007-06-04 Thread Néstor
Can you explain what each of those lines do? Thanks, Nestor PS Great work on the mysql article On 6/4/07, Daevid Vincent <[EMAIL PROTECTED]> wrote: Thanks for the magazine. I already incorporated a little extra SQL injection checking into my db.inc.php wrapper... //[dv] added to remove

Re: Diff between restore from tar and recover from power outage

2007-06-04 Thread Wm Mussatto
On Mon, June 4, 2007 14:21, murthy gandikota said: > Hi > When restoring a DB from a tar file, I had to repair some of the tables. > Whereas when the DB is started after a power failure, everything works > fine. I noticed this on RedHat linux and MySQL5. > > Any thoughts? > > Thanks > Murth

RE: MySQL Magazine - Issue 1 available NOW!!!!

2007-06-04 Thread Daevid Vincent
Thanks for the magazine. I already incorporated a little extra SQL injection checking into my db.inc.php wrapper... //[dv] added to remove all comments (which may help with SQL injections as well. $sql = preg_replace("/#.*?[\r\n]/s", '', $sql); $sql = preg_replace("/--.*?[\r\n]/s", '', $sql); $sql

Re: Lock Tables Question

2007-06-04 Thread David T. Ashley
Once you issue a LOCK TABLES command, you may not access any tables not in the LOCK statement. You must lock *ALL* tables you will use, perform your updates, and then UNLOCK TABLES. I didn't know that. I reviewed the documentation. Thanks. OK, then my only remaining question is how many tabl

Diff between restore from tar and recover from power outage

2007-06-04 Thread murthy gandikota
Hi When restoring a DB from a tar file, I had to repair some of the tables. Whereas when the DB is started after a power failure, everything works fine. I noticed this on RedHat linux and MySQL5. Any thoughts? Thanks Murthy - Building a we

Re: Lock Tables Question

2007-06-04 Thread Gerald L. Clark
David T. Ashley wrote: On 6/4/07, Jerry Schwartz <[EMAIL PROTECTED]> wrote: Whatever you do, make sure that every bit of code that locks multiple resources locks them in the same order. That's the only way to avoid deadlocks. Hi Jerry, I really appreciate the good advice. However, my ori

Re: Lock Tables Question

2007-06-04 Thread David T. Ashley
On 6/4/07, Jerry Schwartz <[EMAIL PROTECTED]> wrote: Whatever you do, make sure that every bit of code that locks multiple resources locks them in the same order. That's the only way to avoid deadlocks. Hi Jerry, I really appreciate the good advice. However, my original question is still un

RE: Lock Tables Question

2007-06-04 Thread Jerry Schwartz
Whatever you do, make sure that every bit of code that locks multiple resources locks them in the same order. That's the only way to avoid deadlocks. Regards, Jerry Schwartz The Infoshop by Global Information Incorporated 195 Farmington Ave. Farmington, CT 06032 860.674.8796 / FAX: 860.674.8341

Re: Lock Tables Question

2007-06-04 Thread David T. Ashley
On 6/4/07, Gerald L. Clark <[EMAIL PROTECTED]> wrote: David T. Ashley wrote: LOCK TABLE thistable, thattable, theothertable, goshthislistcangetlongtable; Do whatever is needed; UNLOCK TABLES; You could use a string lock for this. Thanks for the suggestion. It looks logically correct.

Re: Lock Tables Question

2007-06-04 Thread Gerald L. Clark
David T. Ashley wrote: I decided to go with a simple paradigm for my web-based database. Rather than transactions, each process locks the entire database while it is changing something, then unlocks it. This just serializes access (all other processes will block until the one modifying the da

Lock Tables Question

2007-06-04 Thread David T. Ashley
I decided to go with a simple paradigm for my web-based database. Rather than transactions, each process locks the entire database while it is changing something, then unlocks it. This just serializes access (all other processes will block until the one modifying the database has finished). The

Re: Documentation

2007-06-04 Thread Paul DuBois
At 12:16 PM -0700 6/4/07, <[EMAIL PROTECTED]> wrote: Hello I am going to be going on vacation and will be bringing my laptop with mysql installed on it. Is there a source of good documentation that can be downloaded (.doc or .pdf) for mysql? Downloadable document formats are available at the

re: Documentation

2007-06-04 Thread J.R. Bullington
You can download the MySQL manual from their website in PDF, ZIP, and HTML sources. http://dev.mysql.com/doc/index.html From: [EMAIL PROTECTED] Sent: Monday, June 04, 2007 3:17 PM To: mysql@lists.mysql.com Subject: Documentation Hello I am going to be

Documentation

2007-06-04 Thread andrewmchorney
Hello I am going to be going on vacation and will be bringing my laptop with mysql installed on it. Is there a source of good documentation that can be downloaded (.doc or .pdf) for mysql? Andrew -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:

Re: Issue with SubSelect Quey

2007-06-04 Thread Peter Brawley
Leelu, >The above Query's subselect query doesn't work properly, it lists >even the posts whose forum id is in subselect query. Your `post LEFT JOIN thread ON post.threadid=thread.threadid` asks for post rows whether they have matching thread rows or not. Are you sure you want that? It sounds

re: Administrative Tools

2007-06-04 Thread J.R. Bullington
MySQL GUI tools is one of the best out there, and it's specifically designed for MySQL. MySQL Administrator allows you to control the server. MySQL Query Browser lets you create and edit tables, indecies, etc MySQL Migration Tool helps you migrate from other popular RDBs to MySQL. http://dev.mys

Administrative Tools

2007-06-04 Thread andrewmchorney
Hello I am looking for the tools that I would use to be able to do administrative duties and to be able to create and update databases (tables, indexes and so forth). I would rather do this than do it via a command line. I would appreciate any links available. Andrew -- MySQL General Mailing

What to Download

2007-06-04 Thread andrewmchorney
Hello I was trying to determine what to download to use mysql. I am going to use it for my own database server and also to write software that will incorporate mysql. I need assistance as to whether I should download the 5.0 version of mysql community server or the enterprise version. What is t

Issue with SubSelect Quey

2007-06-04 Thread leeladharan acharya
Hi, In MySQL, The following Query SELECT `post`.`userid` , `post`.`pagetext` , `post`.`dateline` ,`post`.`threadid` , `thread`.`title` , `thread`.`forumid` FROM `post`LEFT JOIN `thread` ON `post`.`threadid`=`thread`.`threadid` WHERE`userid`=`xyz` AND `thread`.forumid not in(SELECT `childlist` fr

Re: External Program Execution

2007-06-04 Thread Nasir Iqbal
> Not built-in. Try here: http://www.xcdsql.org/MySQL/UDF/index.html > > Cheers > Baron > Thanks Baron. This exactly what I want. Thank you. Actually I want to use this sys_exec in triggers and event scheduler (as Introduced in new version of MySQL server). by doing so I can completely repla

Re: Data migration Verification

2007-06-04 Thread Baron Schwartz
On 6/4/07 12:31 PM, "paulizaz" <[EMAIL PROTECTED]> wrote: I have too much data to go through and check if all the data is the same. This is my problem. Sampling would speed this up, but I need something more accurate. All data is important. Then I think you will also have to write a reverse mi

Re: Data migration Verification

2007-06-04 Thread Olaf Stein
I don't mean the whole thing. Pick some output that your applications usually produce and see if you can get the same results for both databases. I am not saying that this is the only and best way, just in addition to the mentioned sample approach. If you want to know for sure you will have to wr

MySQL Magazine - Issue 1 available NOW!!!!

2007-06-04 Thread B. Keith Murphy
Everyone, I have just uploaded the first issue MySQL Magazine to http://paragon-cs.com/mag/issue1.pdf Please take a look at it. There is a great deal of information here and I think it is worth some time. Feedback is always welcome. thanks, Keith Murphy -- MySQL General Mailing List F

Re: Data migration Verification

2007-06-04 Thread Wm Mussatto
On Mon, June 4, 2007 9:31, paulizaz said: > > What do you mean by "same output" ? Can you write a program to access both databases and have it check to see if the data matches. A lot depends on how the structure changed. If the new database rows have a one to one correspondence to the original da

Re: Data migration Verification

2007-06-04 Thread paulizaz
What do you mean by "same output" ? I have too much data to go through and check if all the data is the same. This is my problem. Sampling would speed this up, but I need something more accurate. All data is important. Olaf Stein-2 wrote: > > Besides the sample approach, output data (a set y

Re: External Program Execution

2007-06-04 Thread Peter Brawley
Nasir, I am wondering if there is any way to execute external application from MySQL procedures/trigger/event scheduler. Like as we do in php with !,exec and system. No, SQL isn't meant to be a complete computing language, and in any event such capability would be a huge security headache.

Would you like to explore Opportunity with Microsoft.......

2007-06-04 Thread Shikha Saxena
Hi, This is with reference of your profile for regarding job opportunities with Microsoft IDC, Hyderabad. As you know Microsoft is on hiring spree and IDC is Microsoft's second biggest development center and is currently working on 35 products and technologies including Windows Vista, Visual

Re: External Program Execution

2007-06-04 Thread Baron Schwartz
Hi, Nasir Iqbal wrote: Hi, I am wondering if there is any way to execute external application from MySQL procedures/trigger/event scheduler. Like as we do in php with !, exec and system. I want to know that if there is any way(simple SQL command, pacth) to do it. so I can execute external appl

Re: Stable mysql 4.xx

2007-06-04 Thread Baron Schwartz
I might have misread the original message, but it sounded to me like the person was looking for earlier software than available via the official download links. I personally don't have any need for old versions, but I use Giuseppe Maxia's mysql_sandbox tool to run many different versions so I c