Questions tagged [phpmyadmin]

phpMyAdmin is a free software tool written in PHP, intended to handle the administration of MySQL over the Web.

Filter by
Sorted by
Tagged with
0 votes
1 answer
26 views

how to get serialized post meta

I have posts that have video content and these videos stored in database like this (serialized) a:1:{s:9:"video_url";s:0:"";} This serialized data have post video urls but can ...
user avatar
0 votes
0 answers
15 views

Can't log into wordpress site - I have made a new user and still cant access

I recently took over website management for my company but I can not access 1 of our sites. The user name and password provided by the last management team does not work. I refrenced my Wp-Config to ...
user avatar
0 votes
0 answers
28 views

How do I remove/reset all current widgets from the database?

I recently migrated a site from a dev server to a web server and I appear to be stuck with a menu sidebar I had built in the old site that doesn't appear in the widget area of the new site's dashboard ...
user avatar
0 votes
1 answer
11 views

Monitor all the queriers executed by my website

I am extending the functionalities of one plugin. For the sake for this I would really like to know if there is anyway I could view all the queries that are done to my database live?? Thank you in ...
user avatar
  • 1
0 votes
0 answers
18 views

Is there any way to monitor a MySQL db and check what has changed?

I'm trying to understand the schema of woocommerce. It would be quite easy by monitoring the UPDATE, INSERT and DELETE query in a short time of period. Is there any way to achieve that?
user avatar
  • 289
0 votes
0 answers
13 views

Change word in woocommerce product category custom field

I have woocommerce shop with a large number of categories that have a filled custom field "custom_title". Each custom field has the word "Category" and I want to replace it with ...
user avatar
0 votes
2 answers
52 views

Broken wordpress site, non-working links and no access to wp-admin page

I was just handed a broken Wordpress site that I am now in charge of Administering (administrating?). EDIT: Since posting this, I have made some new discoveries about my issues. When trying to access ...
user avatar
  • 101
0 votes
0 answers
39 views

Mysql Server keeps crashing

I'm using wordpress for my site and my server is vps with memory of 2GB and SSD 40GB. My SQL Server crashes every now and then for few seconds and the website shows 'can't connect to the database'. I ...
user avatar
  • 1
0 votes
1 answer
170 views

How to change my 3000 Published post status to Draft using PHPMyAdmin

I have to change my all 3000 published post status to draft. one way to do it one by one or another option is to select bulk post... but bulk selecting also takes a lot of time because I have around ...
user avatar
0 votes
0 answers
35 views

Error establishing a database connection (Set-up locally)

This is my first time working on Wordpress and accessing site locally. The Wordpress site is on the github and I tried to pull the codes from there and accessing site already to my local machine but ...
user avatar
1 vote
0 answers
82 views

Filter table with dropdown

I'm making two dropdowns of location and category to filter a table by internship location and category. I want to make it so that a user can select one or the other and it will still filter it. I ...
user avatar
0 votes
0 answers
58 views

DB prefix not updating

I have a site I built locally and migrated to a live environment. Later I created a copy of this site and booted it up locally again to do some further dev in there. My local dev software (Local by ...
user avatar
  • 29
0 votes
2 answers
252 views

Delete all pages (thousands) except a few by their IDs

I have over 20 thousand pages and need to delete all of them except very few. Deleting them from the wp-admin page would take too long and a huge effort. Is there a command I can run in PhpMyAdmin to ...
user avatar
1 vote
1 answer
39 views

Duplicate posts when posting nulls in records in phpMyAdmin [closed]

I have a phpMyAdmin database with a table whose contents, when inputted from the database, automatically publish the related information. Some of the details within the record may be NULL, and while ...
user avatar
0 votes
1 answer
42 views

Delete all users with Editor role and their content mysql

I have a Wordpress site with thousands of editors. I cant delete them from the WP dashboard as its to slow. I need a query to delete all the editor users and their posts from PhpMyAdmin? Thanks
user avatar
1 vote
1 answer
41 views

Double domain name in category URL-s

My site runs on the latest version of WordPress. However, I have a problem with categories. Permalinks are set correctly and my category path looks like this: example.com/category-name. Links work ...
user avatar
0 votes
1 answer
58 views

oembed_cache SPAM problem [closed]

I recently found hundreds of posts with post_type oembed_cache while looking into my database. Many of them appear to be spam. I can't for the life of me figure out how there are being injected into ...
user avatar
0 votes
2 answers
310 views

Display data from phpMyAdmin with WordPress

I have imported my website to Wordpress and facing a big issue how can I do sql Query to display data on my pages with wordpress? for example I have product, price, description which I need to display ...
user avatar
  • 1
0 votes
0 answers
68 views

How delete post_content records of specific category from phpmyadmin

I need a SQL command to delete post_content records for specific category's posts
user avatar
0 votes
1 answer
77 views

Import large database in php my admin

I have Wordpress website. I am importing large database into "Php my admin" but showing an error. You probably tried to upload a file that is too large. Please refer to documentation for a ...
user avatar
1 vote
0 answers
34 views

How to make custom column Admin>Users sortable?

I have a few hundred users (customers) to delete, specifically those that registered before 2019 and have zero orders. I've added the following code to my child theme functions file in order to add a ...
user avatar
1 vote
0 answers
162 views

How to display data from custom table in wordpress phpmyadmin

Thanks in advance could anyone here help me, I would like to display the value from the phpmyadmin database in wordpress, The value was stored from the dropdown form and I want display that value in ...
user avatar
0 votes
0 answers
72 views

I wanted to Know that how can I give ingore to 0000-00-00 in my config file

I wanted to know that how can I give ignore to 0000-00-00 in my config file so that I didn't get an error of invalid value for this Zero-Date 0000-00-00 in my site database.
user avatar
  • 41
0 votes
1 answer
1k views

I imported an restore an database and It shows #1067 - Invalid default value for 'user_registered'

My database tables become corrupted so for fixing them I restored data and It shows an error #1067 - Invalid default value for 'user_registered' how can I fix it.
user avatar
  • 41
0 votes
1 answer
64 views

Update a buggy installation

My site is pretty slow , so I am looking to update the wordpress in hopes of getting it back on track. What are best practices? because , getting few PHP notice & warnings in the Debug log. + The ...
user avatar
0 votes
0 answers
14 views

Updating user meta adds string count to value?

I am using Gravity Forms to update user meta. The user meta has to be serialized for another plugin, so I have to catch the value and convert it using the gform_pre_submission action before it gets ...
user avatar
  • 279
0 votes
3 answers
2k views

How to bulk delete a certain part of all wordpress posts

site been hacked, and all posts been injected a line of js code under the content! <script src='https://js.xxxxxxx.ga/stat.js?n=ns1' type='text/javascript'></script> I have found the ...
user avatar
0 votes
1 answer
24 views

Wordpress Migration Post Problems

I am currently working on a website, created with WordPress, the website has been compromised with security flaws, because when WordPress was installed they did it with a version of PHP 5.2, also the ...
user avatar
0 votes
2 answers
177 views

Live to Local on MAMP, not working, outputting functions.php code

This is an older custom theme. On the live server, I updated to the latest version of WP, updated all plug-ins including ACF. Downloaded all files, DB, and renamed to local URL. I've done this many ...
user avatar
  • 1
0 votes
2 answers
760 views

Wordpress admin creation through phpmyadmin not working

So I have searched extensively on this, but all the answers do not work for me. I bought a website from someone, he installed it on my hosting, but did not provide me with the admin login. He is now ...
user avatar
0 votes
0 answers
32 views

When I add metadata, metavalue length is added in to the value in some cases

When I use the following code: update_post_meta($new_post_id, '_test_metakey1', 'a:1:1;'); update_post_meta($new_post_id, '_test_metakey2', 'a:1;'); The database adds the keys as follows: Why does ...
user avatar
0 votes
2 answers
1k views

WordPress fails to install with "Can't Select Database" Error (WAMPServer)

UPDATE: 2020-07-12 I tried installing on Windows 10 64-bit and it failed to install WordPress with the same database error as on Windows 7. That tells me that either there is a bug in WAMPServer 3.2.0 ...
user avatar
0 votes
1 answer
116 views

I need to find posts that contain YouTube links without http:// or https:// prefix and add http:// to all of them

Is it possible to do this via WordPress Dashboard or PhpMyAdmin at once? For example: Find this: youtube.com/watch?v=ycbjSLCaMXw Replace to this: http://youtube.com/watch?v=ycbjSLCaMXw There is ...
user avatar
0 votes
0 answers
24 views

Is there any defects for using same database prefix in WordPress for multiple sites?

I have now two sites using the same database prefix i.e., not other than wp_ Now, the argument arises that if there are some known issues or defects for them being same. As if I install WordPress from ...
user avatar
0 votes
0 answers
442 views

Deleted products from woocommerce are still in the database

I deleted some product variations from my Woocommerce website. almost 75% of all the product variations on my website. I had 20,000 products with 640,000 variations. and now i have only 180,000 ...
user avatar
0 votes
1 answer
131 views

Migrating meta_key and meta_value from old theme to new one

I've just installed a new theme for my wordpress website. ( Jannah Newspaper Theme, to Bimber ) My website is a platform for posting music videos. Jannah Theme have stored all my embed video posted ...
user avatar
1 vote
1 answer
125 views

Is there a way I can find wordpress posts that don't contain a word?

Am trying to unpublish wordpress posts that don't contain a word., Its like the inverse of search, Search is finding a string in wordpress posts, I need to find wordpress posts,. I think this will be ...
user avatar
0 votes
1 answer
500 views

Store GravityForm data in phpmyadmin (mysql)

I'm currently developing a small portal on Wordpress for a client where users have to submit forms (created with Gravity Forms). I'd like to be able to store the data from these forms, upon submission,...
user avatar
1 vote
1 answer
26 views

Better ads plugin has 500.000 entries in wp_postmeta

My wp_postmeta table is huge, around 1.2 million entries, about half of those are caused by bs entries (_bs_via_rel_2, _bs_review_verdict, _bs_source_url_2, _bs_source_url_3... etc). From what little ...
user avatar
0 votes
1 answer
28 views

Find locations of all featured images of draft posts via SQL

I'm trying to get the file locations of all featured images used in draft type posts via SQL and phpmyadmin. posts type attachment should hold the location of the image in the guid column. SELECT ...
user avatar
0 votes
0 answers
22 views

Unable to insert two value in two different columns (Wordpress database)

So I have made a new input with the name "Anaam". When users fill in their info in the input, it should go to the database. However, it will not. I have looked at youtube videos to solve this problem. ...
user avatar
  • 111
0 votes
0 answers
2k views

Update WooCommerce stock status with SQL query if stock value is greater than 0

I'm attempting to update a large product catalogue using a SQL query via phpMyAdmin if: the _stock_status = onbackorder the _stock > 0 Queries attempted: Update wp_postmeta Set meta_value = '...
user avatar
0 votes
0 answers
36 views

why not selecting multiple rows of same standard_id using SQL query from database?

i have invested much more time in simple query ,i was trying to select different rows of same standard_id and in my database is two such rows which have same standard_id but from them i only getting ...
user avatar
0 votes
1 answer
413 views

SQL query to change custom field in Wordpress database

I'm newbie in SQL questions, and today i have a big problem. I need change many fields in my SQL, about 4,5k. But have some rules to the query change, to don't change wrong fields where don't need ...
user avatar
0 votes
0 answers
101 views

update_post_meta not working in template_redirect action

I have a problem I'm trying to listen to a webhook, and I can do it, I check with the help wp_mail function and I get all the data But I want to make a add data in the database, and for some reason ...
user avatar
0 votes
0 answers
31 views

What is recommended data type and encryption type for password in a database

I want to know what data type and encryption type best to use in a database for user passwords. Thank you in advance.
user avatar
2 votes
2 answers
3k views

How to delete users with no order history through phpmyadmin sql?

I have a wordpress ecommerce website which I have begun to update after not touching it for over a year. The first thing I did was implement reCaptcha into all inquiry and contact forms to reduce the ...
user avatar
0 votes
0 answers
57 views

Can I disable auto increment of WordPress Posts Database to utilize previously deleted records?

When I delete a record field of WordPress posts database such as Post, Image, Page, etc. and add new item then it will add in a fresh record field due to auto increment function. But I would like to ...
user avatar
0 votes
1 answer
29 views

WordPress PHP version

My server has last PHP versión but WordPress still But my site keeps asking for the latest version, how do I update this? Thank you
user avatar
2 votes
2 answers
1k views

$wpdb->query() vs. $wpdb->get_results() vs. phpMyAdmin

I have this code: $query = "SELECT * FROM $wpdb->posts INNER JOIN $wpdb->postmeta ON $wpdb->posts.ID = $wpdb->postmeta.post_id ...
user avatar