mirror of
https://github.com/DBDiff/DBDiff.git
synced 2026-04-25 05:15:49 +03:00
[GH-ISSUE #18] DBDiff does not work for me #7
Labels
No labels
bug
enhancement
good first issue
help wanted
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/DBDiff#7
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @amontalban on GitHub (Aug 9, 2016).
Original GitHub issue: https://github.com/DBDiff/DBDiff/issues/18
Hey,
I'm trying DBDiff to see if we can use it in our push to production process and I can't get it to work:
It seems that it fails to connect (I also tried by creating .dbdiff config file with following content):
But as you can see the MySQL client can connect just fine to both servers (Docker instances):
Am I missing something?
@amontalban commented on GitHub (Aug 9, 2016):
NVM, I just saw that I didn't have php5-mysql installed in my test container.
Thanks!
@cleartechllc commented on GitHub (May 1, 2017):
Hi amontalban,
I have the exact same issue (✖ Can't connect to target database). can you please tell me how fixed it?
how to install "php5-mysql installed in test container"
@gordonmurray commented on GitHub (May 16, 2017):
@cleartechllc If using Ubuntu, use the following:
sudo apt install php5-mysql
or
sudo apt install php7.0-mysql
depending on your system.
@lokeshatbigbasket commented on GitHub (Nov 16, 2017):
@gordonmurray @amontalban it's really weird for me, I got can't connect to target database then installed php5-mysql using apt-get, it worked and produced output. But, later after 5 minutes when I run the same command, it's throwing me the same error. I am yelling like anything. Anyone gotta help me here??
@lokeshatbigbasket commented on GitHub (Nov 16, 2017):
Guys sorry, it's my fault.... The database I am comparing in one server doesn't exist.... It's working now... Thanks...