Slave DB setup

All installation and configuration problems and questions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

Slave DB setup

Postby Mad_Dog » Sat Oct 26, 2024 5:36 pm

Hey All, I'm trying to setup a vicidial slaveDB, using the vicibox installer.
I have the user account setup on the master server DB and granted ALL PRIVILEGES to the account but when i run the setup and it tries to make the connection i get the below, any help would be great.

Vicibox installer V1-
Local SVN revision matches DB revision: 3666

mysqldump: Couldn't execute 'FLUSH /*!40101 LOCAL */ TABLES': Access denied; you need (at least one of) the RELOAD privilege(s) for this operation (1227)
Could not get database dump from master: 512 at /usr/bin/vicibox-install line 280, <STDIN> line 20.
Mad_Dog
 
Posts: 2
Joined: Tue Oct 22, 2024 6:00 pm

Re: Slave DB setup

Postby williamconley » Sat Oct 26, 2024 9:00 pm

granted ALL PRIVILEGES


Um ...

Code: Select all
GRANT RELOAD ON *.* TO 'your_user'@'localhost';


It's a fairly clear error message. TBH
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Re: Slave DB setup

Postby Mad_Dog » Sun Oct 27, 2024 4:42 pm

Yeah, i agree its a clear error message, issue is that i have already given reload and "all privileges" to the account so its not that.

Actually sorted, it appears to use an additional account called slave which needs privileges changes, once i did that i got it working.
Mad_Dog
 
Posts: 2
Joined: Tue Oct 22, 2024 6:00 pm

Re: Slave DB setup

Postby carpenox » Mon Oct 28, 2024 2:02 pm

great post back!
Alma Linux 9.4 | SVN Version: 3889 | DB Schema Version: 1721 | Asterisk 18.21.1 | PHP8
www.dialer.one -:- 1-833-DIALER-1 -:- https://linktr.ee/CyburDial -:- WA: +19549477572
GC: https://join.skype.com/ujkQ7i5lV78O | DC: https://discord.gg/DVktk6smbh
carpenox
 
Posts: 2423
Joined: Wed Apr 08, 2020 2:02 am
Location: St Petersburg, FL


Return to Support

Who is online

Users browsing this forum: Google [Bot] and 72 guests