Go Back   DaemonForums > FreeBSD > FreeBSD General

FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below.

Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1   (View Single Post)  
Old 24th July 2012
unixjingleman unixjingleman is offline
Fdisk Soldier
Join Date: Jan 2011
Posts: 70
Default Can't import mysql wordpress into jail

Hi there
I installed FAMP+wordpress in a jail. I'm trying to import the wordpress database from a linux server. mysqldump completed on this Linux server with no errors. Also I can connect to the wordpress admin page on the FreeBSD host from other hosts on the network. The wordpress database has been created and the privileges have been set according to this. However when i do:
mysql -u root -p wordpress < /root/word_dump.sql
i get this error:
Enter password: ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
The word_dump.sql got moved with mv to /root in the jail before running the above command.
I'e googled but only found, mostly stuff on phpmyadmin and quite a lot of unanswered stuff. I tried --skip-grants-table in various combinations(with -u root -p, with just -u root, on it's own) to no avail. It said unknown option. I'm not wanting you to trawl through the masses of stuff on mysql errors. I just thought someone might already know opr have experienced something similar!
Any help would be great thankyou for any replies

Last edited by unixjingleman; 25th July 2012 at 09:04 PM.
Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Tools to assist in database import J65nko Guides 3 12th December 2011 04:03 PM
MySQL database import not helpful J65nko General software and network 2 10th December 2011 02:45 AM
WordPress 3.0 nearly complete J65nko News 0 9th June 2010 06:28 PM
zfs import terryd FreeBSD General 1 23rd November 2008 09:26 PM
import physical freeBSD into VMWARE (ESX) server as a vServer ccc FreeBSD General 6 3rd October 2008 07:04 AM

All times are GMT. The time now is 02:28 AM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick