Creating a PostgreSQL User & Adding them to a database InMotion Hosting ContributorUpdated on September 28, 2022 1 Minute Read In this tutorial, we will show you how to create a PostgreSQL User, and then add them to a database. After getting PostgreSQL on your VPS or Dedicated server, you can create PostgreSQL users and databases in cPanel. How to Create A PostgreSQL UserHow to Add a User to a Database You must create a PostgreSQL database before attempting this guide. How to Create A PostgreSQL User Login to cPanel.Click the PostgreSQL Databases button in the Databases section.Note: The PostgreSQL button, is only available after installing PostgreSQL on your VPS, or Dedicated server.In the Add New User section, enter a username, then your password in the available fields. Be sure to use a strong password.Click the Create User button. You are finished when you see a message similar to this, but your actual PostgreSQL username and password will be listed: “Added user “exampl8_username” with password “E1+q0I;1r7XT”. “ How to Add a User to a Database Login to cPanel.Click the PostgreSQL Databases button in the Databases section.In the Add User To Database section, select the User you want to add from the drop-down menu.Choose the database you want to add the user to, from the Database section.Click the Submit button.You are finished when you see a message similar to this, with your own username and password: “User exampl8_user was added to the database exampl8_test.“ Congratulations, now you know how to create a PostgreSQL user, and add them to a PostgreSQL database. Learn more about PostgreSQL Hosting options. Summarize and Research with AIShare on Social Media IC InMotion Hosting Contributor Content Writer InMotion Hosting contributors are highly knowledgeable individuals who create relevant content on new trends and troubleshooting techniques to help you achieve your online goals! More Articles by InMotion Hosting Related Articles SSL Certificate Lifetimes Shrink to 47 Days by 2029 Installing SSLs and Generating CSRs in cPanel How to Upload Large Files Without FTP Timeouts eCommerce – Setup your Merchant Account Gateway How to Zip and Unzip Files on Windows 11 and Windows 10 How to Transfer and Backup Website Files with Rsync .htaccess File Reference List: Rules, Fixes, and Uses How to Force a File Download With .htaccess Redirecting Visitors to an Under Construction Page How to Force www and non-www on Your Domain with .htaccess