Dave Dugdale

Dave's Personal Blog.

  • Home
  • RentVine
  • Pm Dave
  • Solar Dave
  • RSS
  • RentVine

8

Mar

Wordpress MySQL Scheduled Backup Warning

Posted by Dave Dugdale  Published in Coding

I thought I would share a bad experience I had yesterday with a Worpress backup plugin.

First off I am sure there is nothing wrong with the plugin, but it easily created user error on my part.

I started doing nightly backups with it several days ago and I was feeling pretty secure about it. So yesterday I thought it would be good to test a restore to boost my confidence even more.

I opened the latest version of HeidiSQL, highlighted my test database and then choose import SQL file and then ran it.

About 1/3 of the way through it created an error (something about line one that was not helpful at all). The way the script is written it drops the table first and then recreates it. When it created the error it drop the entire table and didn’t create a new one.

No problem, it was on my testing database - right? No, it was not!

Also the way the script is written it says to “use” my actual database and not the real one! Yes, user error on my part.

So, I thought let me try restoring it again from another backup. This time it worked and was going really fast at first and then started slowing down to one line per second. At that rate it might have taken a whole day to complete or more since it was continually slowing down.

So be careful with this plugin.

no comment

27

Feb

Your PHP installation appears to be missing the MySQL which is required for WP

Posted by Dave Dugdale  Published in Coding

I am setting up my first dedicated box.

  1. Windows 2003,
  2. IIS6,
  3. PHP 5.2 build 3790
  4. MySQL5.

I had my host install PHP for me.

I installed MySQL and got it working fine with my Coldfusion pages - so we know the database is work.

I created a PHP hello world page and it worked fine. So we know PHP is working.

But when I tried my WordPress blog I get:

“Your PHP installation appears to be missing the MySQL which is required for WordPress.”

So I Google the error and found this helpful page:
http://wordpress.org/support/topic/105098

I added both IUSR_COMPUTERNAME and “Network Service” to have
read/write access to C:\PHP like they talked about - but that didn’t work.

php-prop11.gif

php-prop2.gif

I made sure that the php_mysql.dll extension was uncommented (restarted IIS) - but that didn’t work.

phpini1.gif

In php.ini file, I changed the “extension_dir” to point to “./ext/” (restarted IIS) - but that didn’t work.

phpini2.gif

I then tried “extension_dir” to point to “C:\PHP\ext\” (restarted IIS) - but that didn’t work.

I then tried “extension_dir” to point to “C:\PHP\” (restarted IIS) - but that didn’t work.

Here is the php info for MySQL:

mysql-info.jpg

Update: I figured it out. All the settings above are correct. For some reason I just needed to reinstall Wordpress.

Update 2: I didn’t have to reinstall WP, all I had to do was deactivate one of my plugins (Quick Stats which was causing the error).

no comment

Dave Dugdale

A Picture of Dave Dugdale This is my personal blog, this is where I write random thoughts.

Contact Dave | About Dave

What's Dave Doing Now?


follow Dugdale at Twitter.com

Recent Comments

  • Dave Dugdale in Comcast Blocks My Email On Port 25 Because of Spam…
  • John Doe in Comcast Blocks My Email On Port 25 Because of Spam…
  • Aunt Tracey in Molly and Jenny's Piano Recital at University of C…
  • Karen in Molly and Jenny's Piano Recital at University of C…
  • Mary in Molly and Jenny's Piano Recital at University of C…
  • Angie and Ken in Molly and Jenny's Piano Recital at University of C…
  • aunt nancy in Molly and Jenny's Piano Recital at University of C…
  • Out Ranking Tim Carter At AskTheBui… in Stump Removal Video
  • Inexpensive Green Screen? - The Chu… in How To Build a Green Screen Chroma Key Set DIY
  • Dave Dugdale in AVCHD Video Card

Search

Categories

  • Coding
  • Computers
  • General
  • Home and Garden
  • Misc
  • Rentals
  • Vacation
  • Video

Other

  • Denver Managers
  • Rent Vine
  • Solar Installers - solar panels

Meta

  • Log in
  • Main Entries Rss
  • Comments Rss

Recent Post

  • Joel Barlow High School - Class of 1982
  • Denver Lofts For Sale
  • Mike Mulligan and His Steam Shovel [Pictures]
  • I Used To Be A Stay-At-Home Dad
  • Cards From Berklee College Of Music and Royal Viking Star
  • I Launched A New Site About Property Management
  • Why I Love Twitter
  • Sorenson Squeeze 4.5 Stops Squeezing at 50 Percent
  • Uploading Images With WordPress [Video]
  • Molly and Jenny’s Piano Recital at University of Colorado [Video]

Recent Comments

  • Dave Dugdale in Comcast Blocks My Email On Port 25 Because of Spam…
  • John Doe in Comcast Blocks My Email On Port 25 Because of Spam…
  • Aunt Tracey in Molly and Jenny's Piano Recital at University of C…
  • Karen in Molly and Jenny's Piano Recital at University of C…
  • Mary in Molly and Jenny's Piano Recital at University of C…
  • Angie and Ken in Molly and Jenny's Piano Recital at University of C…
  • aunt nancy in Molly and Jenny's Piano Recital at University of C…
  • Out Ranking Tim Carter At AskTheBui… in Stump Removal Video
  • Inexpensive Green Screen? - The Chu… in How To Build a Green Screen Chroma Key Set DIY
  • Dave Dugdale in AVCHD Video Card
© 2008 Dave Dugdale - Author Dave Dugdale