Found it.
It was a field in phpMyAdmin which is set to a semicolon(;) by default.
I have changed it to an unused char and the query ran normally.
Related Posts:
- Delete all post meta except featured image
- Set Display Name to first and last name (phpmyadmin SQL Query)
- Emojis getting converted to “?”
- How to replace values in WordPress DB using phpMyAdmin
- Delete all post meta except featured image Using SQL
- Accidentally deleted active_plugins portion of the wp_options DB table
- WordPress database import: Row size too large
- WordPress Database Huge wp_usermeta Table
- Connection refused on locahost after importing database?
- Changing root password in PHPMyAdmin for WordPress Database when going live
- Can’t update WordFence Options, clear data manually
- Post Views / Hit Counter Problem?
- How to migrate a database from a server to another
- SELECT SQL_CALC_FOUND_ROWS with wordpress search
- Files on Localhost, Database on Server
- Backing up WordPress database and files
- wp_option table error while importing
- Installing local to live WP into subdirectory
- Delete user with only subscriber role
- Can’t log into wordpress site – I have made a new user and still cant access
- Is there any way to monitor a MySQL db and check what has changed?
- DB prefix not updating
- I wanted to Know that how can I give ingore to 0000-00-00 in my config file
- I imported an restore an database and It shows #1067 – Invalid default value for ‘user_registered’
- I need to find posts that contain YouTube links without http:// or https:// prefix and add http:// to all of them
- Is there any defects for using same database prefix in WordPress for multiple sites?
- Migrating meta_key and meta_value from old theme to new one
- What is recommended data type and encryption type for password in a database
- Duplicate database to roll back theme & content changes
- WP website showing blank page after moving from subdomain to main domain
- How to retrieve user data based on role using SQL?
- WordPress character set issue
- Missing latest posts and options after DB migration via phpMyAdmin
- Check if a database is well installed
- Changed meta_key value in structures, now dashboard shows zero users
- Options table – where does my values go?
- Database question while Migrating from one domain to another on same WebHost [Bluehost]
- Deleting WordPress posts and media files based on author via MYSQL database
- Database table prefix different between wp-config.php and in database
- Rename a table in MySQL
- Can’t connect to MySQL server on ‘127.0.0.1’ (10061) (2003)
- Keeping WP database synced across multiple developers using git
- How to define composite keys with dbDelta()
- Connect forms in WP to external database
- How to get site URL if database is disconnected?
- Is it wise to delete post revisions and autosaves from database?
- Multiple WP install with same users database
- Dynamic data in `wp_register_script` needed
- Using two different DB users on one WP install
- Can I transfer a mysql database to another site?
- Weird issue with database migration and SSL links
- Backup another database with BackUpWordPress plugin [closed]
- How to use a different database to list and manage comments in the backend
- Error establishing a database connection on Installation
- Why is it that not all users have a ‘session_tokens’ meta_key record in the usermeta table?
- Use mulitple usernames?
- Routine to convert custom post meta from old to new value
- sanitize POST arrays
- WP character encoding error after sharing post on Facebook �
- Sending data with multi step form to wp database
- WordPress query is not returning proper results
- Localhost to Staging to Development Dynamic WP-CONFIG
- Will there be any concern if I upgrade my current WordPress Database server from Centos 7 Mariadb 5.5 to Centos 8 Mariadb 10.3?
- In which format the data is stored in WordPress Databases?
- Is it possible to rebuild the website while not accesseing the original database?
- Error message on blog posts only on my local environment [closed]
- how to read database fields
- $wpdb->query can’t insert data
- Can you refresh ONLY the wordpress adminbar and not the whole page?
- Sending posts from Python to WordPress
- Remote database connection and local development
- How can I detect right db type?
- Add search bar to Custom Database Table in WordPress Dashboard
- Design problems when exporting remote database for local development
- A change in URL slug in database returns 404, how can I do auto-redirect?
- muliple wordpress installs (network) on different databases
- White Screen in Home Page
- Continuous SQL query errors from outside source
- Whats the best practise on how to store json data from a custom settings page?
- Recovery – Restore Database after moving folder location locally
- Migrate Users From laravel to wordpress
- WordPress has been updated! Before we send you on your way, we have to update your database to the newest version
- Job and Employee Performance Tracking with Product Safety
- how add more field to wp user and save it to database
- How do I cleanup my database with data that is no longer being used?
- Error establishing a database connection with XAMPP
- How to map data on CSV to web pages?
- Search and replace http:// to https:// 10x my database size
- Database size for news publishers?
- do I need to change the default database prefix?
- WordPress Database Posts Table query
- How to use separate database on differrent server with different username and password in wordpress for users data
- Theme options not being sent to Database
- What’s wrong with my $wpdb query?
- Moving database from WP 2.6 to 3.5 problem
- How do I find posts?
- Homepage redirects to other site of mine? [closed]
- Recover Same WordPress Admin Password
- WordPress, Error when trying to insert data >> Notice: wpdb::prepare was called incorrectly
- Sharing plugin tables between 2 sites in the same database
