<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>database on</title><link>https://docs.whmcs.com/9-1/tags/database/</link><description>Recent content in database on</description><generator>Hugo -- gohugo.io</generator><atom:link href="https://docs.whmcs.com/9-1/tags/database/index.xml" rel="self" type="application/rss+xml"/><item><title>System Requirements</title><link>https://docs.whmcs.com/9-1/installation-guide/system-requirements/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.whmcs.com/9-1/installation-guide/system-requirements/</guid><description>Lists minimum system requirements for self-hosted WHMCS installations, including supported operating system, Apache version and handlers, PHP 8.2/8.3 with required and recommended extensions and ionCube Loader versions, MySQL version and privileges, database collation, encrypted database connection variables, and recommended file and directory permissions.</description></item><item><title>Troubleshooting the Database</title><link>https://docs.whmcs.com/9-1/troubleshooting/troubleshoot-the-database/troubleshooting-the-database/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.whmcs.com/9-1/troubleshooting/troubleshoot-the-database/troubleshooting-the-database/</guid><description>Index page linking to general database and database backup troubleshooting articles for the MySQL database that WHMCS uses.</description></item><item><title>Argument PDOStatement Errors</title><link>https://docs.whmcs.com/9-1/troubleshooting/troubleshoot-the-database/argument-pdostatement-errors/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.whmcs.com/9-1/troubleshooting/troubleshoot-the-database/argument-pdostatement-errors/</guid><description>Documents &amp;ldquo;TypeError: Argument 1 passed&amp;hellip; must be an instance of PDOStatement&amp;rdquo; errors during MySQL-intensive tasks, caused by heavy Module Log data or low wait_timeout/interactive_timeout MySQL settings, with fixes to disable Module Log and correct the MySQL configuration.</description></item><item><title>Base Table or View Not Found Errors</title><link>https://docs.whmcs.com/9-1/troubleshooting/troubleshoot-the-database/base-table-or-view-not-found-errors/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.whmcs.com/9-1/troubleshooting/troubleshoot-the-database/base-table-or-view-not-found-errors/</guid><description>Covers &amp;ldquo;Base table or view not found&amp;rdquo; and &amp;ldquo;Unable to complete incremental updates&amp;rdquo; errors caused by a missing required table in the WHMCS database, with steps to recreate it from the corresponding schema.sql file.</description></item><item><title>Column group_id Null Errors</title><link>https://docs.whmcs.com/9-1/troubleshooting/troubleshoot-the-database/column-group-id-null-errors/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.whmcs.com/9-1/troubleshooting/troubleshoot-the-database/column-group-id-null-errors/</guid><description>Documents the &amp;ldquo;Column &amp;lsquo;group_id&amp;rsquo; cannot be null&amp;rdquo; integrity constraint error caused by orphaned products not assigned to a valid product group, with fixes using the Orphaned Products Fixer script or a direct MySQL update.</description></item><item><title>Command Denied Errors</title><link>https://docs.whmcs.com/9-1/troubleshooting/troubleshoot-the-database/command-denied-errors/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.whmcs.com/9-1/troubleshooting/troubleshoot-the-database/command-denied-errors/</guid><description>Covers &amp;ldquo;Command denied to user&amp;rdquo; MySQL errors during updates caused by insufficient database user privileges, with the fix of granting the missing CREATE and INDEX privileges, for example via cPanel&amp;rsquo;s Privileged Users.</description></item><item><title>Could Not Connect Errors</title><link>https://docs.whmcs.com/9-1/troubleshooting/troubleshoot-the-database/could-not-connect-errors/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.whmcs.com/9-1/troubleshooting/troubleshoot-the-database/could-not-connect-errors/</guid><description>Documents the system cron&amp;rsquo;s &amp;ldquo;Could not connect to database&amp;rdquo; error caused by configuration.php misconfiguration or a missing PHP extension, with fixes to verify database settings, TLS certificate matching, and the required PDO, PDO MySQL, and MySQLi extensions.</description></item><item><title>Cron System Queue Timeout</title><link>https://docs.whmcs.com/9-1/troubleshooting/troubleshoot-cron-issues/cron-system-queue-timeout/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.whmcs.com/9-1/troubleshooting/troubleshoot-cron-issues/cron-system-queue-timeout/</guid><description>Covers cron runs that stall on the Executing System Queue step due to database backup generation and zipping slowing as the database grows, and gives the fix of running system cleanup tasks and disabling FTP/SFTP and Daily Email Backups under Database Backups.</description></item><item><title>Database Backups</title><link>https://docs.whmcs.com/9-1/system/database-and-storage/database-backups/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.whmcs.com/9-1/system/database-and-storage/database-backups/</guid><description>Compares the SFTP/FTP Backup, cPanel Backups (requiring a cPanel API token), and Daily Email Backups automated backup options at Configuration &amp;gt; System Settings &amp;gt; Database Backups, the manual php -q cron.php do &amp;ndash;DatabaseBackup command, and the importance of backing up configuration.php separately for its encryption hash.</description></item><item><title>Database Status</title><link>https://docs.whmcs.com/9-1/system/database-and-storage/database-status/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.whmcs.com/9-1/system/database-and-storage/database-status/</guid><description>Covers the Optimise Tables button at Utilities &amp;gt; System &amp;gt; Database Status for reducing MySQL table overhead and the Download Database Backup button for manually downloading a database backup file.</description></item><item><title>Dataset Must Be Array Errors</title><link>https://docs.whmcs.com/9-1/troubleshooting/general-troubleshooting/dataset-must-be-array-errors/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.whmcs.com/9-1/troubleshooting/general-troubleshooting/dataset-must-be-array-errors/</guid><description>Resolves the &amp;ldquo;InvalidArgumentException: Dataset must be an array&amp;rdquo; TableQuery.php error caused by an incorrect $mysql_charset value in configuration.php, with the fix of setting $mysql_charset = &amp;lsquo;utf8&amp;rsquo; and removing any latin1 entry.</description></item><item><title>Domain Management Oops! Errors</title><link>https://docs.whmcs.com/9-1/troubleshooting/troubleshoot-domains/domain-management-oops-errors/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.whmcs.com/9-1/troubleshooting/troubleshoot-domains/domain-management-oops-errors/</guid><description>Fixes the Oops! WHMCS\Exception\InvalidDomain: The domain is invalid error shown when managing a domain, caused by an invalid character (such as a leading or trailing space) in the tbldomains.domain database field, by editing the record directly in the tbldomains table.</description></item><item><title>Down for Maintenance Errors</title><link>https://docs.whmcs.com/9-1/troubleshooting/general-troubleshooting/down-for-maintenance-errors/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.whmcs.com/9-1/troubleshooting/general-troubleshooting/down-for-maintenance-errors/</guid><description>Troubleshoots the Down for Maintenance (Err2) error caused by a mismatch between database, WHMCS file, and PHP versions, with separate resolution steps for when the error appears during an in-progress update (browser install.php upgrade process) versus after an update that did not complete or apply correctly.</description></item><item><title>Duplicate Entry Errors</title><link>https://docs.whmcs.com/9-1/troubleshooting/troubleshoot-the-database/duplicate-entry-errors/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.whmcs.com/9-1/troubleshooting/troubleshoot-the-database/duplicate-entry-errors/</guid><description>Covers &amp;ldquo;Duplicate entry &amp;lsquo;0&amp;rsquo; for key &amp;lsquo;PRIMARY&amp;rsquo;&amp;rdquo; errors after copying or restoring a database, caused by missing primary key and auto_increment attributes from an incomplete table structure copy, with the recommendation to drop and restore the database again.</description></item><item><title>Duplicate tblconfiguration Errors</title><link>https://docs.whmcs.com/9-1/troubleshooting/troubleshoot-installation/duplicate-tblconfiguration-errors/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.whmcs.com/9-1/troubleshooting/troubleshoot-installation/duplicate-tblconfiguration-errors/</guid><description>Explains the install.php step 4 &amp;ldquo;Oops!&amp;rdquo; error and the &amp;ldquo;1062 Duplicate entry for key tblconfiguration.PRIMARY&amp;rdquo; violation, caused by initiating installation twice simultaneously (for example, via monitoring tools accessing index.php), with steps to disable monitoring, restrict access, drop the database, and restart installation.</description></item><item><title>Field Default Value Errors</title><link>https://docs.whmcs.com/9-1/troubleshooting/troubleshoot-the-database/field-default-value-errors/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.whmcs.com/9-1/troubleshooting/troubleshoot-the-database/field-default-value-errors/</guid><description>Documents the &amp;ldquo;Field xxx doesn&amp;rsquo;t have a default value&amp;rdquo; installation error caused by MySQL Strict Mode being enabled, with the fix of disabling Strict Mode.</description></item><item><title>Models</title><link>https://docs.whmcs.com/9-1/customization/models/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.whmcs.com/9-1/customization/models/</guid><description>Explains WHMCS&amp;rsquo;s Eloquent ORM-based model classes (such as WHMCS\User\Client mapping to tblclients) with PHP code examples for creating records with save(), retrieving records with find() and findOrFail(), querying with chained where() calls, accessing relational properties like domains and contacts, updating records, and deleting records and related objects with delete().</description></item><item><title>MySQL Server Gone Away Errors</title><link>https://docs.whmcs.com/9-1/troubleshooting/troubleshoot-the-database/mysql-server-gone-away-errors/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.whmcs.com/9-1/troubleshooting/troubleshoot-the-database/mysql-server-gone-away-errors/</guid><description>Documents &amp;ldquo;MySQL server has gone away&amp;rdquo; errors, often during upgrades, caused by the MySQL server closing the connection due to low timeout values, with the fix of increasing wait_timeout and max_allowed_packet and restoring pre-upgrade backups if needed.</description></item><item><title>Order Not Found Errors</title><link>https://docs.whmcs.com/9-1/troubleshooting/troubleshoot-the-database/order-not-found-errors/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.whmcs.com/9-1/troubleshooting/troubleshoot-the-database/order-not-found-errors/</guid><description>Covers &amp;ldquo;Order Not Found&amp;hellip;Exiting&amp;hellip;&amp;rdquo; caused by WHMCS being unable to write to the database, typically due to MySQL Strict Mode, with the fix of disabling Strict Mode.</description></item><item><title>POP3 General Error 3988 Errors</title><link>https://docs.whmcs.com/9-1/troubleshooting/troubleshoot-the-database/pop3-general-error-3988-errors/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.whmcs.com/9-1/troubleshooting/troubleshoot-the-database/pop3-general-error-3988-errors/</guid><description>Documents the &amp;ldquo;General error: 3988 Conversion from collation&amp;rdquo; error in POP3 Connection Error emails, caused by a table character set mismatch, with the fix of running an ALTER TABLE command to convert the table&amp;rsquo;s collation.</description></item><item><title>Storage Settings</title><link>https://docs.whmcs.com/9-1/system/database-and-storage/storage-settings/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.whmcs.com/9-1/system/database-and-storage/storage-settings/</guid><description>Lists the eight file-type storage location selectors on the Settings tab (Client Files, Downloads, Email Attachments, Email Images, Email Template Attachments, Knowledgebase Images, Project Management Files, Ticket Attachments), the test/duplicate/edit/delete controls on the Configurations tab, and the recommended folder structure for each file type.</description></item><item><title>System Cleanup</title><link>https://docs.whmcs.com/9-1/system/system-cleanup/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.whmcs.com/9-1/system/system-cleanup/</guid><description>Details the Simple tab&amp;rsquo;s Empty Gateway Log, Empty Whois Lookup Log, Empty Ticket Mail Import Log, and Empty Template Cache actions, and the Advanced tab&amp;rsquo;s date-based Prune Client Activity Logs, Prune Saved Emails, and Prune Old Attachments options at Utilities &amp;gt; System &amp;gt; System Cleanup.</description></item><item><title>Unable to Connect Errors</title><link>https://docs.whmcs.com/9-1/troubleshooting/troubleshoot-the-database/unable-to-connect-errors/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.whmcs.com/9-1/troubleshooting/troubleshoot-the-database/unable-to-connect-errors/</guid><description>Documents &amp;ldquo;Critical Error - Unable to connect to the database&amp;rdquo; caused by incorrect configuration.php database settings, database user permissions, a missing pdo_mysql extension, or required encrypted connection settings, with fixes for each scenario.</description></item><item><title>Disable MySQL Strict Mode</title><link>https://docs.whmcs.com/9-1/system/database-and-storage/database-and-storage-tutorials/disable-mysql-strict-mode/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.whmcs.com/9-1/system/database-and-storage/database-and-storage-tutorials/disable-mysql-strict-mode/</guid><description>Gives the steps to disable MySQL Strict Mode by editing the sql_mode setting in /etc/my.cnf and restarting the MySQL service, including the WHM path via Restart Services &amp;gt; SQL Server (MySQL).</description></item><item><title>Enable Encrypted MySQL</title><link>https://docs.whmcs.com/9-1/system/database-and-storage/database-and-storage-tutorials/encrypt-your-mysql-connection/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.whmcs.com/9-1/system/database-and-storage/database-and-storage-tutorials/encrypt-your-mysql-connection/</guid><description>Lists the db_tls_ca, db_tls_ca_path, db_tls_cert, db_tls_cipher, db_tls_key, and db_tls_verify_cert configuration.php settings needed to enable encrypted MySQL connections before, during (CLI -c/&amp;ndash;config), or after installation.</description></item><item><title>Migrate Local Storage</title><link>https://docs.whmcs.com/9-1/system/database-and-storage/database-and-storage-tutorials/migrate-local-storage/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.whmcs.com/9-1/system/database-and-storage/database-and-storage-tutorials/migrate-local-storage/</guid><description>Steps through adding a new local storage configuration and path under Storage Settings &amp;gt; Configuration, selecting it under the Settings tab, clicking Migrate to move files automatically, and canceling an in-progress migration with Revert Changes.</description></item><item><title>Migrate Storage Locations</title><link>https://docs.whmcs.com/9-1/system/database-and-storage/database-and-storage-tutorials/migrate-storage-locations/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.whmcs.com/9-1/system/database-and-storage/database-and-storage-tutorials/migrate-storage-locations/</guid><description>Explains that email attachments cannot migrate automatically, gives the Amazon S3 subdirectory naming convention (client_files, downloads, email_attachments, template_attachments, pm_files, ticket_attachments) for manual migrations, and links the File Not Found error troubleshooting page.</description></item><item><title>Restore the WHMCS Database</title><link>https://docs.whmcs.com/9-1/system/database-and-storage/database-and-storage-tutorials/restore-the-whmcs-database/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.whmcs.com/9-1/system/database-and-storage/database-and-storage-tutorials/restore-the-whmcs-database/</guid><description>Walks through restoring a database backup via phpMyAdmin&amp;rsquo;s Drop-and-Import process, replacing WHMCS files from the full release download, restoring or recreating the configuration.php file, and the post-restoration checklist covering General Settings, Payment Gateways, Servers, and Domain Registrars.</description></item><item><title>Set Up Amazon S3 Storage</title><link>https://docs.whmcs.com/9-1/system/database-and-storage/database-and-storage-tutorials/set-up-amazon-s3-storage/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.whmcs.com/9-1/system/database-and-storage/database-and-storage-tutorials/set-up-amazon-s3-storage/</guid><description>Details entering the Access Key, Access Secret, Bucket, Region, and optional Endpoint URL under Storage Settings &amp;gt; Configurations to add an S3 provider, the required ListBucket/GetObject/PutObject/ReplicateObject/DeleteObject permissions, an example IAM policy JSON, and the Migrate versus Switch options for moving files to S3.</description></item><item><title>Set Up an Amazon S3 Bucket</title><link>https://docs.whmcs.com/9-1/system/database-and-storage/database-and-storage-tutorials/set-up-an-amazon-s3-bucket/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.whmcs.com/9-1/system/database-and-storage/database-and-storage-tutorials/set-up-an-amazon-s3-bucket/</guid><description>Walks through creating an S3 bucket in the AWS console, creating an IAM user and a custom policy granting ListBucket, GetObject, PutObject, ReplicateObject, and DeleteObject permissions scoped to the bucket ARN, and generating and storing the access key ID and secret for WHMCS.</description></item></channel></rss>