logo
  • Contact Us |
  • Login
  • Login
  • RVsitebuilder
  • RVskin
  • RVssl
  • Support
  • Partner
    • RVsitebuilder NOC Partner
    • RVskin NOC Partner
    • SSL Reseller Program
  • Products
    • cPanel
    • CloudLinux
    • Softaculous
    • RVskin
    • RVsitebuilder
    • RVssl
    • Virtualizor
  • Installation
  • Why Us?
order
  • Support
  • Submit Ticket
  • Verify License
Knowledge Base RVskin >Theme Manager Troubleshooting

DBI connect(':localhost:3306','rvadmin_public',...) failed: Can't..

by RV Support
2025-11-19 09:22:49

Problem

The following long error on RVskin Theme Manager or RVskin theme in control panel.

DBI connect(':localhost:3306','rvadmin_public',...) failed: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) at /usr/local/cpanel/Cpanel/RvMysql2.pm line 243
Carp::carp('DBI connect(\':localhost:3306\',\'rvadmin_public\',...) failed: ...') called at /usr/local/cpanel/perl/DBI.pm line 653
DBI::__ANON__(undef, undef) called at /usr/local/cpanel/perl/DBI.pm line 707
DBI::connect('DBI', 'DBI:mysql::localhost:3306', 'rvadmin_public', '4u,!BI8eX5r&') called at /usr/local/cpanel/Cpanel/RvMysql2.pm line 243
Cpanel::RvMysql2::RvMysql2_testremote('timeout', 5, 'passwd',……………………………………………………………
……..main::_api1('include', 'include', '/usr/local/cpanel/base/frontend/rvskin/rvbranding/indexheader.ht...', 'include', 'ARRAY(0x7f7cbf7539c0)', 'safe_html_encode', undef, undef) called at cpanel line 1572
main::real_exectag('') called at cpanel line 4158
main::dotag_finished_headers(0) called at cpanel line 3978
main::cpanel_parseblock('main::y('GLOB(0x3ca38f0)') called at cpanel line 5257
main::run_standard_mode() called at cpanel line 785

 

Possible Cause
RVskin cannot find the file /tmp/mysql.sock. It might have lost from updating MySQL, etc.

Solution
You can fix the error by running the two following commands.

ln -s /var/lib/mysql/mysql.sock /tmp/mysql.sock
/scripts/restartsrv_mysql

If it returns an error File exists as following.

[root@{server} ~]# ln -s /var/lib/mysql/mysql.sock /tmp/mysql.sock

ln: failed to create symbolic link ‘/tmp/mysql.sock’: File exists

Try to create a new database for RVskin Manager usage, and insert it RVglobalsoft manager -> RVskin Theme Manager -> Configuration -> Database Setup .

 

 

 

 

RVskin is missing from WHM Previous RVskin Update Error WHM 11.38+Next

Articals in this section

  • I cannot create Addon Domain in cPanel. Error ""Could not determine the nameserver IP ....."
    Updated on 2025-11-25 06:08:24
  • RVskin Update Error WHM 11.38+
    Updated on 2025-11-19 09:32:30
  • DBI connect(':localhost:3306','rvadmin_public',...) failed: Can't..
    Updated on 2025-11-19 09:22:49
  • RVskin is missing from WHM
    Updated on 2025-11-19 09:19:58
  • RVskin install error : Can't locate YAML/Syck.pm
    Updated on 2025-11-19 09:17:25
  • RVskin Clustering Error :Error, cannot syncronize configuration ..
    Updated on 2025-11-19 09:12:44
  • cPanel Webmail error 404 on paper_lantern theme after RVskin uninstalled
    Updated on 2025-11-19 09:10:45
  • RVskin install error : Can't locate DBI.pm Can't locate DBD/mysql.pm
    Updated on 2025-11-18 08:04:51
  • RVskin 10.99 Webmail error
    Updated on 2025-11-18 08:04:51
  • RVskin Installation ERROR : Not support Net::SSLeay
    Updated on 2025-11-19 07:39:35
Privacy Policy   |   Terms of Service   |   Business SLA

rvsitebuilder

facebook twitter linkedin googleplus

COMPANY

Support
Contact
Login
Register
Why Us

SSL CERTIFICATES

Symantec
Thawte
Geotrust
RapidSSL

PRODUCTS

cPanel
CloudLinux
Virtualizor
Softaculous

LINKS

RVssl
RVskin
RVsitebuilder
Blog
RVskin Reseller
RVsitebuilder Reseller

Follow us

© 2020 - 2025 Netway Communication Co.,Ltd. All Rights Reserved.

Contact Us

  • Your address
  • admin@admin.com
RVsitebuilder | RVskin | RVssl | Support | Partner
2025 Company Inc. All rights reserved.   Powered by RVsitebuilder
  • RVsitebuilder
  • RVskin
  • RVssl
  • Support
  • Partner
    • RVsitebuilder NOC Partner
    • RVskin NOC Partner
    • SSL Reseller Program