I'm running Lubuntu 13.10 on a Samsung NC10 plus netbook. For the record it's been rock solid so far.
I've managed to setup LAMP. Have phpmyadmin working.
Attempting to install Wordpress so I can run as a test version before implementing changes to my live site. I already stuffed something yesterday testing out child theme. I still don't quite get it but I'll get there. This meant the site was down all day and I don't want that to happen again in future.
Following these instructions https://help.ubuntu.com/13.04/server...wordpress.html I seem to have it all going well until the last bit of code:
Firstly it said there was "no such file or directory"Code:cat wordpress.sql | sudo mysql --defaults-extra-file=/etc/mysql/debian.cnf
So I then after following a few variations via http://ubuntuforums.org/archive/index.php/t-824277.html specifically
I managed to get there to be no error. But I'm not sure if that was the only piece of code I should have used?Code:mysqldump -u username -p wordpress > wordpress.sql
So when I now try to get into localhost/blog/wp-admin/install.php I get "Error establishing a database connection"
This is all after a previous setup of LAMP confused the out of me so I just removed and purged all the files and started again. Getting so close to working it out mwahaha. Would really appreciate any help anyone can offer me.
EDIT: Just as cautionary I also just ran
and restarted apache2 and meh, same errorCode:mysql -u username -p wordpress < wordpress.sql
Bookmarks