Closed velograph closed 6 years ago
Hello,
and sorry for the late reply.
Are your config in local
database:
name: sonofthumper
user: wp
password: ****** # could be blank, so always use quotes around
host: localhost
tha same config you have in wp-config.php
?
Do you have multiple MySQL instances? I think not because I understand you are in an ad hoc Vagrant machine... Locally you are working from inside the Vagrant machine, correct?
@pioneerskies This is what I have in my wp-config.php file:
define( 'DB_NAME', 'sonofthumper' ); | # port: 3308 # Use just in case you have exotic server config
| # mysqldump_options: --max_allowed_packet=1G # Only available if using SSH
/** MySQL database username */ | # mysql_options: --protocol=TCP # mysql command is used to import db
define( 'DB_USER', 'wp' ); |
| exclude:
/** MySQL database password */ | - '.git/'
define( 'DB_PASSWORD', 'wp' ); | - '.gitignore'
| - 'node_modules/'
/** MySQL hostname */ | - 'bin/'
define( 'DB_HOST', 'localhost' );
I should only have the single mysql instance, but perhaps that's it? I am working from my vagrant machine – ssh'd in.
Hmmm...took like this it makes no sense. Let's explode some questions and problems:
-p
flag also, but I can't see any sentence about it. Is it just a typo?wp-content
can you see gizipped dumps of your remote and local database? Are they populated with expected data?In my poor support experience, most of similar cases, were caused by having unexpectedly different table prefixes locally and remotely. Would you compare the two prefixes?
@pioneerskies
It looks like the issue was related to my table prefixes being different. I updated my prefixes in the local Vagrant DB to match what's on my remote.
I can now push and pull correctly. My media page is also showing all uploads.
Thanks for the tip!
I am having trouble connecting my Dreamhost production environment with my Vagrant WP installation. I believe my yaml file is in good shape, but my database isn't being overwritten when I pull. When I push the remote database isn't overwritten either. I have stopped the pull after the dump file is created and it's not empty, so at this point I'm a little lost. Any help would be greatly appreciated!
Here's my movefile:
When I run 'wordmove pull -d' – I've been searching the issues and google, but haven't seen anything quite like this:
Strangely I can run
wordmove pull -t
and that syncs my themes. If I runwordmove pull -u
I receive a long list of the correct files (on remote) but they're not showing in my WP Media library. I see them in the directory though...Current Dependency versions: mysql
mysql Ver 15.1 Distrib 10.1.32-MariaDB, for debian-linux-gnu (x86_64) using readline 5.2
mysqldump
mysqldump Ver 10.16 Distrib 10.1.32-MariaDB, for debian-linux-gnu (x86_64)
wordmove
3.0.2
rsync
rsync version 3.1.0 protocol version 31
WP CLI
WP-CLI 1.5.1
Wordmove Doctor
Any ideas or thoughts on how to adjust my movefile to fix this? Could this be a permissions issue in my setup?