Quantcast
Channel: Topic Tag: MySQL | WordPress.org
Browsing all 5527 articles
Browse latest View live

eckul on "executing a mysql query on publishing of post"

Hi I would like to post some data to a db when certain categories are selected in a WP post. I would like this to action when the post is made. This is the query I wan to run: mysqli_query($con,"UPDATE...

View Article


Ronnieinspain on "little with mySQL wp db query."

Hi, I'm trying to adapt this function to return not just the value of each custom field but also the $post_id associated with it in an array; they are both in the same table ($wpdb->postmeta) but im...

View Article


cosmicjellybaby on "MySQL bulk delete query"

Hi, am trying to run MySQL query to delete posts in a given category older than a given date. I can select the relevant records using a query, but when I try to modify the query to make it a DELETE...

View Article

Mike Bijon on "Too many MySQL connections and MySQL server has gone away"

@Kate, to pull this back out of the techie-vs-techie stuff, were any of the above posts helpful? --- As a 2nd-pass at helping: Disk I/O tends to be the first thing that limits WordPress site speed....

View Article

Kate on "Too many MySQL connections and MySQL server has gone away"

Thanks for checking in Mike. I trying to plan a meeting with the engineer to discuss changes to config based on these recommendations. I'm hoping to meet with him on Monday and will post what worked...

View Article


OldDog39 on "Add query from spreadsheet table."

1. How do I organize WP and MySQL folders so that they make sense and can be found easily. Some folders are similar. 2. I have a table with 796 rows and 53 columns. I only want 6 to appear on the...

View Article

songdogtech on "Too many MySQL connections and MySQL server has gone away"

As a "3rd-pass" at helping: Mike said: I'd recommend tools.percona.com to get you started too. I start with their configs all the time: You're absolutely wrong. You can't start with a boilerplate...

View Article

Mike Bijon on "Too many MySQL connections and MySQL server has gone away"

@sondogtech, swap usage and disk I/O are completely independent, http://unix.stackexchange.com/a/2663. But I'm not going to break down whatever it is you're posting. A good SE should see through the...

View Article


bcworkz on "executing a mysql query on publishing of post"

The tricky part is identifying an action that fires only when the post is first published. 'save_post' also fires when the post is updated, so is no good. The action you want is actually...

View Article


robcub on "MySQL database is 2GB !"

I've just been informed by my host that my WordPress MySQL database is 2GB They say that ./db_name/wp_commentmeta.ibd is 2GB I have used various plugins over the years to optimize the database so I...

View Article

Gage Morgan on "MySQL database is 2GB !"

Your site probably has too much content; such as images, posts, themes, etc. Try creating a new site with a new database and link to it on the old site. Alternatively, you can try using multi-site,...

View Article

robcub on "MySQL database is 2GB !"

The site has 300 posts at the most. I have been deleting spam comments. I think the site is quite small compared to the other sites out there

View Article

Gage Morgan on "MySQL database is 2GB !"

If that's it....I don't know how the database would be in the way unless your hosting plan is too small...sometimes hosting CAN cost a lot. I would get an ad revenue service put on your site, and use...

View Article


robcub on "MySQL database is 2GB !"

http://robcubbon.com I'm using quite a good hosting plan. I have the capacity. I just don't think the database should be 2GB – it's only text afterall?

View Article

eckul on "executing a mysql query on publishing of post"

thank you I'll give it a go

View Article


2ninerniner2 on "MySQL database is 2GB !"

Howdy, Not related to your hosting, and as you know, images are not stored in the DB, let alone the table in question :) Have a read through this post and check the provided fix. But remember to make a...

View Article

2ninerniner2 on "MySQL database is 2GB !"

This may be at the root of your issue: http://sitecheck.sucuri.net/results/robcubbon.com/ Have a careful read of the following: http://codex.wordpress.org/FAQ_My_site_was_hacked

View Article


robcub on "MySQL database is 2GB !"

Hello Lyle. Thanks very much for your help. I'm sure you're right about the Akismet issue highlighted in the SPblogger article. However, I think you were running the Succuri check while my website was...

View Article

kharota on "How to Add custom db records and CRUD in back end"

HI, I am new to wordpress. I trying to learn. What I want to display is following database records which could be edited added and deleted from admin panel. 1. Title 2. Description 3. Image_src If...

View Article

eckul on "executing a mysql query on publishing of post"

Thanks for your help. I'm still having some problems though. I've put the below code into the functions.php file. I'm trying to run the query when I make a post with both categories 2 and 3 selected....

View Article
Browsing all 5527 articles
Browse latest View live