{"id":997,"date":"2021-07-23T12:43:05","date_gmt":"2021-07-23T12:43:05","guid":{"rendered":"https:\/\/ssdsunucum.com\/blog\/manage-database-users\/"},"modified":"2021-07-23T12:43:05","modified_gmt":"2021-07-23T12:43:05","slug":"manage-database-users","status":"publish","type":"post","link":"https:\/\/ssdsunucum.com\/blog\/manage-database-users\/","title":{"rendered":"Manage Database Users"},"content":{"rendered":"<\/p>\n<div class=\"col-md-9\">\n<div class=\"flex-column flex-md-row article-header\">\n<div id=\"versioned-article-header\">\n<p class=\"valid-version-info\"><em>Valid for versions 82 through the latest version<\/em><\/p>\n<\/div>\n<div id=\"version-select-group\" aria-label=\"select versions\">\n<h4>Version:<\/h4>\n<h4>82<\/h4>\n<\/div><\/div>\n<hr>\n<h2 id=\"overview\">Overview<\/h2>\n<p>This interface allows server administrators to retrieve a list of database users, each users database, and which account owns each database user. The server administrator can use this interface to rename database users.<\/p>\n<h2 id=\"database-users\">Database users<\/h2>\n<p>This interface provides a table of all of the database users on the server.<\/p>\n<p>Click each column heading to sort the list by that column. Search for a particular user with the <em>Search<\/em> text box.<\/p>\n<h3 id=\"rename-a-database-user\">Rename a database user<\/h3>\n<p>To rename a database user, perform the following steps:<\/p>\n<ol>\n<li>\n<p>Click the pencil icon in the row that corresponds to the database user.<\/p>\n<\/li>\n<li>\n<p>Enter the new name for the database user in the Rename to text box. <\/p>\n<div class=\"callout callout-warning\">\n<div class=\"callout-heading\">Important:<\/div>\n<div class=\"callout-content\">\n<p>To learn more about database username limits, click your database type:<\/p>\n<div class=\"accordion-wrapper\">\n<div class=\"accordion-item\">\n<p>        MySQL 5.6<\/p>\n<div class=\"collapse\" id=\"mysql-5-61626990045461706569\">\n<div class=\"card card-body\">\n<p>MySQL version 5.6 limits the database username to 16 characters. The server uses the first nine characters of this limit for the database prefix. The database prefix uses the cPanel account\u2019s username and an underscore (<code>_<\/code>). The server only applies the first eight characters of the cPanel account\u2019s username.<\/p>\n<p>For example:<\/p>\n<ul>\n<li>A <code>db_<\/code> database prefix allows MySQL usernames of up to 13 characters.<\/li>\n<li>An <code>example_<\/code> database prefix allows MySQL usernames of up to eight characters.<\/li>\n<\/ul><\/div>\n<p>\n    <\/div>\n<\/div>\n<div class=\"accordion-item\">\n<p>        MySQL 5.7 and later<\/p>\n<div class=\"collapse\" id=\"mysql-5-7-and-later1626990045461780510\">\n<div class=\"card card-body\">\n<p>MySQL versions 5.7 and later limit the database username to 32 characters. The server uses the first nine characters of this limit for the database prefix. The database prefix uses the cPanel account\u2019s username and an underscore (<code>_<\/code>). The server only applies the first eight characters of the cPanel account\u2019s username.<\/p>\n<p>For example:<\/p>\n<ul>\n<li>A <code>db_<\/code> database prefix allows MySQL usernames of up to 29 characters.<\/li>\n<li>An <code>example_<\/code> database prefix allows MySQL usernames of up to 24 characters.<\/li>\n<\/ul><\/div>\n<p>\n    <\/div>\n<\/div>\n<div class=\"accordion-item\">\n<p>        MariaDB<\/p>\n<div class=\"collapse\" id=\"mariadb1626990045461822369\">\n<div class=\"card card-body\">\n<p>MariaDB limits the database username to 47 characters. The server uses the first nine characters of this limit for the database prefix. The database prefix uses the cPanel account\u2019s username and an underscore (<code>_<\/code>). The server only applies the first eight characters of the cPanel account\u2019s username.<\/p>\n<p>For example:<\/p>\n<ul>\n<li>A <code>db_<\/code> database prefix allows MariaDB usernames of up to 44 characters.<\/li>\n<li>An <code>example_<\/code> database prefix allows MariaDB usernames of up to 39 characters.<\/li>\n<\/ul><\/div>\n<p>\n    <\/div>\n<\/div>\n<\/div><\/div>\n<\/div>\n<\/li>\n<li>\n<p>Enter a new password for the user in the <em>Set Password<\/em> text box.<\/p>\n<div class=\"callout callout-info\">\n<div class=\"callout-heading\">Note:<\/div>\n<div class=\"callout-content\">\n        This step is optional.\n    <\/div>\n<\/div>\n<\/li>\n<li>\n<p>Click <em>Submit<\/em> to confirm that you wish to rename the database user.<\/p>\n<ul>\n<li>To cancel the action, click <em>Close<\/em>.<\/li>\n<\/ul>\n<\/li>\n<\/ol><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Valid for versions 82 through the latest version Version: 82 Overview This interface allows server administrators to retrieve a list of database users, each users database, and which account owns each database user. The server administrator can use this interface to rename database users. Database users This interface provides a table of all of the &hellip;<\/p>\n","protected":false},"author":1,"featured_media":998,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/posts\/997"}],"collection":[{"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/comments?post=997"}],"version-history":[{"count":0,"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/posts\/997\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/media\/998"}],"wp:attachment":[{"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/media?parent=997"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/categories?post=997"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/tags?post=997"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}