Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section General Discussion
  • Search

mysql.conf not found in /usr/local/vesta/conf

General questions about VestaCP
Post Reply
  • Print view
Advanced search
3 posts • Page 1 of 1
icky.firmansyah
Posts: 5
Joined: Tue Dec 30, 2014 8:18 am

mysql.conf not found in /usr/local/vesta/conf
  • Quote

Post by icky.firmansyah » Thu Jan 01, 2015 5:25 pm

hy .. i cant add db in my vestacp..
because host is blank..
and i search file mysql.conf but not found in /usr/loca/vesta/conf

can someone help me how to fix it?
ty
Top

joem
Posts: 378
Joined: Thu Nov 13, 2014 8:33 am

Os: CentOS 6x
Web: nginx + php-fpm
Re: mysql.conf not found in /usr/local/vesta/conf
  • Quote

Post by joem » Thu Jan 01, 2015 9:41 pm

icky.firmansyah wrote:hy .. i cant add db in my vestacp..
because host is blank..
and i search file mysql.conf but not found in /usr/loca/vesta/conf

can someone help me how to fix it?
ty
Run from ssh Change NewPass to a new root password. Also /usr/loca/vesta/conf should be /usr/local/vesta/conf

Code: Select all

mysql
UPDATE mysql.user SET Password=PASSWORD('NewPass') WHERE User='root';
FLUSH PRIVILEGES;
exit
nano  /usr/local/vesta/conf/mysql.conf 
Paste this in there
HOST='localhost' USER='root' PASSWORD='NewPass' CHARSETS='UTF8,LATIN1,WIN1250,WIN1251,WIN1252,WIN1256,WIN1258,KOI8' MAX_DB='500' U_SYS_USERS='admin' U_DB_BASES='0' SUSPENDED='no' TIME='' DATE=''

Code: Select all

Ctrl X
Y
Enter
Top

icky.firmansyah
Posts: 5
Joined: Tue Dec 30, 2014 8:18 am

Re: mysql.conf not found in /usr/local/vesta/conf
  • Quote

Post by icky.firmansyah » Fri Jan 02, 2015 6:58 am

thx a lot dude..
worked perfectly..

:D
Top


Post Reply
  • Print view

3 posts • Page 1 of 1

Return to “General Discussion”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password