Skip to main content

Thread: MySQL Wordpress website on localhost - no content


hello!

want host wordpress site on pc sandbox editing. mysql database seems have errors when connecting localhost , website database.

have installed apache , wordpress, shown in guide:
http://www.wpwebhost.com/install-wor...-lampp-server/

guide shows how create new wordpress site clean mysql database. works unlit here - dummy website displays on http://localhost/wordpress.

when try import .sql file downloaded website mysql, not display content. perhaps not link server , database properly. has encountered similar problem before?

apologize if have posted in wrong section.

quote posted aryangor view post
...when try import .sql file downloaded website mysql, not display content. perhaps not link server , database properly. has encountered similar problem before?...
sorta remember wp likes hostname-based resolution, so, if import.sql file came domain.com , want import example.net, may see issue this.

how import done exactly?

code:
mysql -uroot -p <db> < /path/to/file.sql
check wp-config.php file on server mysql username/password/db , substitute -uroot indicated user/pass/db in wp-config.php

connect credentials using terminal >
code:
mysql -u<user> -p
,
code:
show databases;
if db not show up, have problem.

let know....


Forum The Ubuntu Forum Community Ubuntu Specialised Support Ubuntu Servers, Cloud and Juju Server Platforms [SOLVED] MySQL Wordpress website on localhost - no content


Ubuntu

Comments

Popular posts from this blog

Thread: Can not create raid array: mdadm: no raid-devices specified.

Thread: HOW TO: Package and theme GTK+ / Gtkmm apps in Linux for Windows

Thread: Twinview issues