Skip to main content
We are aware of an issue after updating to cPanel versions 11.110.0.65, 11.126.0.21, or 11.128.0.11, some cPanel plugins or features are no longer functioning properly including WP Toolkit. Presently, updates for releases are temporarily disabled while we continue working on a solution for the missing addon features directory. Please see the following article for more information and updates:
Update to latest cPanel 110, 126, or 128 versions removes "addonfeatures" directory.

Can't connect my db to mysql-cpanel

Comments

2 comments

  • cPRex Jurassic Moderator

    Hey there!  I'm not sure if anyone here is going to have much information on this since Prisma doesn't come with cPanel.  Maybe another user will share their experience with this tool!

    0
  • rbairwell

    According to the Prisma documentation, you have missed the username part of the url so it /could/ be misparsing it. The connection string should be in the format mysql://USER:PASSWORD@HOST:PORT/DATABASE - so try:

    mysql://user:password@localhost:3306/database

    or

    mysql://user::password@127.0.0.1:3306/database

    Don't try to use the server's actual "hostname" (such as server1.example.com ) as that'll force an external lookup/connection which might be blocked by the server's firewall and will be a bit slower (yes, on the scale of fractions of milliseconds, but sometimes if there is a misconfiguration somewhere on the DNS front it can take several whole seconds).

    0

Please sign in to leave a comment.