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 Database Server
  • Search

privileges problem on database

Questions regarding the Database Server
MySQL, PostgreSQL, MariaDB, Percona Server, phpMyAdmin, phpPgAdmin
Post Reply
  • Print view
Advanced search
4 posts • Page 1 of 1
direktor05
Posts: 9
Joined: Thu Jun 27, 2019 2:09 am

Os: CentOS 5x
Web: nginx + php-fpm
privileges problem on database
  • Quote

Post by direktor05 » Fri Aug 02, 2019 6:55 pm

Hello,

I created a database inside Vesta but in PHPAdmin the database is nowhere to be seen. In PHPAdmin I can't create a new user, I can't create a new database - it says 'admin'@'localhost' doesn't have permission to create a new database. There is no tab to create new user. How do I create new database users, grant them privileges and create a new database in PHPAdmin?

Regards, Bogomil
Top

grayfolk
Support team
Posts: 1111
Joined: Tue Jul 30, 2013 10:18 pm
Contact:
Contact grayfolk
Website Facebook Skype Twitter

Os: CentOS 6x
Web: nginx + php-fpm
Re: privileges problem on database
  • Quote

Post by grayfolk » Sat Aug 03, 2019 7:17 am

direktor05 wrote: ↑
Fri Aug 02, 2019 6:55 pm
Hello,

I created a database inside Vesta but in PHPAdmin the database is nowhere to be seen. In PHPAdmin I can't create a new user, I can't create a new database - it says 'admin'@'localhost' doesn't have permission to create a new database. There is no tab to create new user. How do I create new database users, grant them privileges and create a new database in PHPAdmin?

Regards, Bogomil
Use VestaCP for manage databases/users, not PHPMyAdmin.
Top

direktor05
Posts: 9
Joined: Thu Jun 27, 2019 2:09 am

Os: CentOS 5x
Web: nginx + php-fpm
Re: privileges problem on database
  • Quote

Post by direktor05 » Sat Aug 03, 2019 10:47 am

The problem is any database or user created in VestaCP is not shown in PHPAdmin. PHP won't connect to database created with VestaCP. Also in VestaCP I can't add fields to database. I managed to solve the problem yesterday by manually creating new user and granting privileges on CentOS Terminal. Then the database created with VestaCP miraculously showed in PHPAdmin. But I can't replicate this to create the second database.
Top

sysdop
Posts: 88
Joined: Fri Dec 08, 2017 1:46 am
Contact:
Contact sysdop
Website Skype

Os: CentOS 6x
Web: nginx + php-fpm
Re: privileges problem on database
  • Quote

Post by sysdop » Fri Aug 30, 2019 2:51 am

As they told you, access is per user, not global. You must manage the databases one per user.
Top


Post Reply
  • Print view

4 posts • Page 1 of 1

Return to “Database Server”



  • 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