

Get in touch

Download Plugin Now
  • Follow
  • Follow
WP Data Access
  • Download
  • Support
  • Features
  • Pricing
  • Documentation
    • Tool Guide
    • App Builder
    • Data Explorer
    • SQL Query Builder
    • Plugin Settings
    • Legacy Tools
    • Remote Connections
a
M
M
  • Download
  • Support
  • Features
  • Pricing
  • Documentation
    • Tool Guide
    • App Builder
    • Data Explorer
    • SQL Query Builder
    • Plugin Settings
    • Legacy Tools
    • Remote Connections
Download Plugin Now

Data Explorer

  • Getting started
  • Navigation
  • Explore tables & views
  • Manage tables & views
  • Naming conventions

Manage Settings

  • Settings
  • Table Settings
  • Column Settings
  • Search Settings
  • Geolocation Settings
  • Dynamic Hyperlinks
  • Dashboard Menus

Manage Actions

  • Actions

Data Management

  • Import CSV & SQL files
  • Run SQL script files
  • Data Backup

REST API

  • Getting started
  • /wpda/table/meta
  • /wpda/table/select
  • /wpda/table/get
  • /wpda/table/insert
  • /wpda/table/update
  • /wpda/table/delete

Problems & solutions

  • InnoDB #rows estimation
  • Import file too large
  • Transfer to other WP DB
View Categories

Naming conventions

To manage database schemas, tables and columns, the plugin often generates HTML elements, CSS classes and JavaScript variables in the back-end with their original names. Unfortunately, MySQL, HTML, CSS and jQuery all have their own limitations, which can easily lead to errors or missing features. This page describes which characters can be used in schema, table and column names without breaking plugin features or running into name based errors.

Name validation #

Name validation was introduces in version 4.2.8 to help plugin users to identify erroneous names. Name validation is performed in the back-end only (Data Explorer, Data Tables, Data Projects, and so on). A red flag is shown when a schema, table or column names does not follow the general rules as mentioned below.

NOTE For performance reasons red flags are only shown at table level. Further research might be needed to identify the erroneous name.

WP Data Access - Naming convention

General rules #

To prevent errors or missing plugin features, schema, table and column names should:

  • Start with a letter
  • Followed by any number of:
    • Letters (upper or lower case)
    • Digits 0 to 9
    • Underscores (often used to replace white spaces)
  • Be no longer than 64 characters

This works for all tools used in WP Data Access. To be safe, do not use anything else for names.

Example #

MySQL accepts white spaces in schema, tables and column names. HTML element names, CSS classes and JavaScript variables do not.

The following create table statement is allowed in MySQL:

create table my demo
(my id int not null auto_increment primary key
,my text text
);

The plugin however, will not be able to support all features with white spaces in the table and column name.

The following create table statement solves this issue:

create table my_demo
(my_id int not null auto_increment primary key
,my_text text
);

All plugin features are supported with these table and column names.

What to do if I get a red flag? #

  • Check your schema, table, and column names
  • Find the name(s) that do not follow the general rules
  • Change the name

You might need to take additional actions for schema, table, and column names that are already used in data tables or projects. Please use the forum if you need help.

Share This Article :
  • Facebook
  • X
  • LinkedIn
  • Pinterest
Still stuck? How can we help?

How can we help?

Updated on 2025-02-07
Manage tables & views

2 Comments

  1. Roger Trouillard
    Roger Trouillard on 2021-06-02 at 5:43 pm

    After upgrade to this new feature, all objects are flagged ! Even if table names and field names respect the rule.
    … But the database name is as following : “123456_DatabaseName”, where “123456” is imposed by the website host !
    No possibility for me to change the begin of the name of the database “123456…” !!!

    Reply
    • Peter Schulz
      Peter Schulz on 2021-06-03 at 1:06 pm

      Hi Roger,

      Good point! ISP hosted databases may start with a number. And there is nothing you can do about it.

      The plugin performs a couple of checks. It looks like the numeric check on the first character is only needed for HTML4. It’s not necessary for HTML5.

      Can I presume WordPress generates HTML5 at all times? Anybody???

      BTW, this is just a message! What worked will continue to work. Let me know if you have any issues.

      Thanks,
      Peter

      Reply

Submit a Comment Cancel reply

Your email address will not be published. Required fields are marked *

Table of Contents
  • Name validation
  • General rules
  • Example
  • What to do if I get a red flag?
WP Data Access
  • Follow
  • Follow
Quick Links
$

Blogs

$

Tutorials

$

Demos

Get in touch
$

Premium support

$

Free support forum

$

Contact us

Resources


WordPress plugin directory



YouTube tutorials

Copyright © 2025 | All Right Reserves

We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.Ok