Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2007-04-16 23:19:50

DigitalRealm
Member
From: Greenville, SC
Registered: 2006-07-22
Posts: 139
Website

rss_admin_db_manager: local server

Hey all, I recently set up a local environment to work on a site of mine, and I am having some difficulties with my genius plan that I had in mind!

I have TXP running locally, and on a live server. I installed a fresh copy locally along with the rss_admin_db_manager. I thought I could just make a backup from the live server, and restore on the local to get an exact copy of the current live site. This however does not work, and the rss_admin_db_manager throws an error that says – “FAILED TO RESTORE: 127”.

Anyone maybe know why this would be? This worked perfectly for me when I changed hosts, but going locally does not seem to work. Is there a way that I can replicate my live server site on my local machine easily? I thought this would work, but it did not. Any ideas? Thanks!

(Edit: updated discussion topic. -Mary)

Last edited by Mary (2007-04-16 23:54:08)

Offline

#2 2007-04-16 23:57:39

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: rss_admin_db_manager: local server

Assuming you are on Windows: it would be because you don’t have a full path entered to your MySQL executables in the plugin’s prefs and you also don’t have their path entered in your system’s environment variables.

All you need to do is update either one. I’d recommend just putting the full paths into the plugin’s prefs. For example: I have MySQL located at C:\webdev\mysql\bin\mysql.exe, so I’d replace mysql with that full path. Same thing for mysqldump.

Offline

#3 2007-04-17 00:45:54

DigitalRealm
Member
From: Greenville, SC
Registered: 2006-07-22
Posts: 139
Website

Re: rss_admin_db_manager: local server

I am using MAMP on OSX for my local environment.

TXP is installed in Applications/MAMP/htdocs/

MySQL is in Applications/MAMP/db/mysql <——Inside there is a folder for my database.

Is this the file path that I need to point to?

Offline

#4 2007-04-17 00:49:29

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: rss_admin_db_manager: local server

No, it needs to point to the executable file. On Windows that’s anything *.exe, I don’t know what the equivalent would be for OSX. Would any Mac users chime in here, please?

Offline

#5 2007-04-17 02:35:25

jm
Plugin Author
From: Missoula, MT
Registered: 2005-11-27
Posts: 1,746
Website

Re: rss_admin_db_manager: local server

I’ve never used rss_admin_db_manager locally, but I’d guess the path needs to be /Applications/MAMP/db/mysql/mysql (or /Applications/MAMP/local/mysql/bin/mysql (extensionless file) if available). I installed MySQL and PHP manually, so I’m afraid I’m not much help.

BTW, you should totally be using CocoaMySQL for db management. No problems with that for backing up and restoring (though you need to specify a socket for MAMP).

Offline

#6 2008-05-05 23:10:54

uli
Moderator
From: Cologne
Registered: 2006-08-15
Posts: 4,306

Re: rss_admin_db_manager: local server

Just found out the correct settings for MAMP (thanks to Jon-Michael!):

mysqldump Path:
/Applications/MAMP/Library/bin/mysqldump

mysql Path:
/Applications/MAMP/Library/bin/mysql


In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links

Offline

Board footer

Powered by FluxBB