Where is MYSQL and MYSQL Dump Paths ?

Post your questions about Web Server usage and Apache + PHP + MySQL/SQLite web applications.
Locked
User avatar
Moogle Stiltzkin
Guru
Posts: 11445
Joined: Thu Dec 04, 2008 12:21 am
Location: Around the world....
Contact:

Where is MYSQL and MYSQL Dump Paths ?

Post by Moogle Stiltzkin »

Hi,

I am trying to use this wordpress WP-DBManager plugin to perform some database backups. Unfortunately i have run across a hurdle as i am unsure about setting up the MYSQL Dump and MYSQL paths .... any ideas ?

Checking Backup Status
Checking Backup Folder (/share/MD0_DATA/Qweb/wp-content/backup-db) ...
Backup folder exists
Backup folder is writable

Checking MYSQL Dump Path ...
MYSQL dump path does NOT exist. Please check your mysqldump path under DB Options. If uncertain, contact your server administrator.

Checking MYSQL Path ...
MYSQL path does NOT exist. Please check your mysql path under DB Options. If uncertain, contact your server administrator.

Checking PHP Functions (passthru(), system() and exec()) ...
passthru() enabled.
system() enabled.
exec() enabled.

Please Rectify The Error Highlighted In Red Before Proceeding On.
http://wordpress.org/extend/plugins/wp-dbmanager/
NAS
[Main Server] QNAP TS-877 (QTS) w. 4tb [ 3x HGST Deskstar NAS & 1x WD RED NAS ] EXT4 Raid5 & 2 x m.2 SATA Samsung 850 Evo raid1 +16gb ddr4 Crucial+ QWA-AC2600 wireless+QXP PCIE
[Backup] QNAP TS-653A (Truenas Core) w. 4x 2TB Samsung F3 (HD203WI) RaidZ1 ZFS + 8gb ddr3 Crucial
[^] QNAP TL-D400S 2x 4TB WD Red Nas (WD40EFRX) 2x 4TB Seagate Ironwolf, Raid5
[^] QNAP TS-509 Pro w. 4x 1TB WD RE3 (WD1002FBYS) EXT4 Raid5
[^] QNAP TS-253D (Truenas Scale)
[Mobile NAS] TBS-453DX w. 2x Crucial MX500 500gb EXT4 raid1

Network
Qotom Pfsense|100mbps FTTH | Win11, Ryzen 5600X Desktop (1x2tb Crucial P50 Plus M.2 SSD, 1x 8tb seagate Ironwolf,1x 4tb HGST Ultrastar 7K4000)


Resources
[Review] Moogle's QNAP experience
[Review] Moogle's TS-877 review
https://www.patreon.com/mooglestiltzkin
User avatar
fribse
Experience counts
Posts: 2090
Joined: Mon Feb 11, 2008 2:50 am
Location: Greve, Denmark
Contact:

Re: Where is MYSQL and MYSQL Dump Paths ?

Post by fribse »

Moogle Stiltzkin wrote:Hi,

I am trying to use this wordpress WP-DBManager plugin to perform some database backups. Unfortunately i have run across a hurdle as i am unsure about setting up the MYSQL Dump and MYSQL paths .... any ideas ?

Checking Backup Status
Checking Backup Folder (/share/MD0_DATA/Qweb/wp-content/backup-db) ...
Backup folder exists
Backup folder is writable

Checking MYSQL Dump Path ...
MYSQL dump path does NOT exist. Please check your mysqldump path under DB Options. If uncertain, contact your server administrator.

Checking MYSQL Path ...
MYSQL path does NOT exist. Please check your mysql path under DB Options. If uncertain, contact your server administrator.

Checking PHP Functions (passthru(), system() and exec()) ...
passthru() enabled.
system() enabled.
exec() enabled.

Please Rectify The Error Highlighted In Red Before Proceeding On.
http://wordpress.org/extend/plugins/wp-dbmanager/
You can find paths to programs by doing this with putty

Code: Select all

cd /
find -name mysqldump
This will return

Code: Select all

./mnt/ext/opt/mysql/bin/mysqldump
Make sure that the path is setup correctly.
Best regards
Fribse

NO, RAID is NOT backup - Use RAID-Certified 24x7 drives for raid
HOWTO's:
Make automatic backup of ALL MySQL databases http://forum.qnap.com/viewtopic.php?f=32&t=15628

NAS-659 Pro II (3 GB Ram), Raid1, Survailance station, local backup destination + NAS-853A (16 GB Ram), Virtualization Station, Plex, iDrive
Network: Fritz!Box 7560 + 24p SG200 + 2x8p SG200 + 8p POE EdgeCore + 300/300 mbit Internet
User avatar
Moogle Stiltzkin
Guru
Posts: 11445
Joined: Thu Dec 04, 2008 12:21 am
Location: Around the world....
Contact:

Re: Where is MYSQL and MYSQL Dump Paths ?

Post by Moogle Stiltzkin »

Ok this was what came out

Code: Select all

[~] # cd /
[/] # find -name mysqldump
./mnt/ext/opt/mysql/bin/mysqldump
[/] #


Ok so i managed to get the correct path which was same as the above but without the "." in the front.

Code: Select all

/mnt/ext/opt/mysql/bin/mysqldump


the mod says it is all ok.

Code: Select all

Checking Backup Status

Checking Backup Folder (/share/MD0_DATA/Qweb/wp-content/backup-db) ...
Backup folder exists
Backup folder is writable

Checking MYSQL Dump Path (/mnt/ext/opt/mysql/bin/mysqldump) ...
MYSQL dump path exists.

Checking MYSQL Path (/mnt/ext/opt/mysql/bin/mysqldump) ...
MYSQL path exists.

Checking PHP Functions (passthru(), system() and exec()) ...
passthru() enabled.
system() enabled.
exec() enabled.

Excellent. You Are Good To Go.

Note: The checking of backup status is still undergoing testing, it may not be accurate.
Backup Database

Thanks for your help :mrgreen:
NAS
[Main Server] QNAP TS-877 (QTS) w. 4tb [ 3x HGST Deskstar NAS & 1x WD RED NAS ] EXT4 Raid5 & 2 x m.2 SATA Samsung 850 Evo raid1 +16gb ddr4 Crucial+ QWA-AC2600 wireless+QXP PCIE
[Backup] QNAP TS-653A (Truenas Core) w. 4x 2TB Samsung F3 (HD203WI) RaidZ1 ZFS + 8gb ddr3 Crucial
[^] QNAP TL-D400S 2x 4TB WD Red Nas (WD40EFRX) 2x 4TB Seagate Ironwolf, Raid5
[^] QNAP TS-509 Pro w. 4x 1TB WD RE3 (WD1002FBYS) EXT4 Raid5
[^] QNAP TS-253D (Truenas Scale)
[Mobile NAS] TBS-453DX w. 2x Crucial MX500 500gb EXT4 raid1

Network
Qotom Pfsense|100mbps FTTH | Win11, Ryzen 5600X Desktop (1x2tb Crucial P50 Plus M.2 SSD, 1x 8tb seagate Ironwolf,1x 4tb HGST Ultrastar 7K4000)


Resources
[Review] Moogle's QNAP experience
[Review] Moogle's TS-877 review
https://www.patreon.com/mooglestiltzkin
khaihong
Starting out
Posts: 37
Joined: Fri Jan 15, 2016 7:24 am

Re: Where is MYSQL and MYSQL Dump Paths ?

Post by khaihong »

Still helpful after 9 years :lol: I just installed the same WP-DBmanager plugin for my WordPress site and had the same questions
Kellerassel
New here
Posts: 2
Joined: Fri Apr 04, 2014 10:41 pm

Re: Where is MYSQL and MYSQL Dump Paths ?

Post by Kellerassel »

still helpful after 11 years... :DD
Try to make my qnap working to backup mySQldatabase with mysqldump....

so i had the same questions...

Thanks for help...
User avatar
dolbyman
Guru
Posts: 35274
Joined: Sat Feb 12, 2011 2:11 am
Location: Vancouver BC , Canada

Re: Where is MYSQL and MYSQL Dump Paths ?

Post by dolbyman »

silent admiration wasn't possible? .. needed to necropost ?
User avatar
OneCD
Guru
Posts: 12156
Joined: Sun Aug 21, 2016 10:48 am
Location: "... there, behind that sofa!"

Re: Where is MYSQL and MYSQL Dump Paths ?

Post by OneCD »

* topic locked to prevent further necroposting *

ImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImage
Locked

Return to “Web Server & Applications (Apache + PHP + MySQL / SQLite)”