Skip to main content
cPanel Technical Support has been heavily impacted by hurricane Beryl and our ability to respond to tickets has been hindered as a result. We appreciate your understanding and patience as we address these delays.

PHP connection not showing

Comments

2 comments

  • Andrew

    You should ask your host about this. Under the same you can create a new MySQL username and password then you should assign that username to the database you wish (add privileges). The database server is usually "localhost" and the port is usually "3306".

    Andrew N. - cPanel Plesk VMWare Certified Professional
    Do you need immediate assistance? 20 minutes response time!*
    EmergencySupport - Professional Server Management and One-time Services

    0
  • cPRex Jurassic Moderator

    I wouldn't expect any connection info to show up on that page.  You have to create the database, the database user and password, and then grant access to the database for the user.  That is all done from that page.

    If you're trying to enter that information in a connection string in an application, you'll use "localhost" as the host.

    0

Please sign in to leave a comment.