[GH-ISSUE #129] ✖ Can't connect to target database #93

Open
opened 2026-02-25 21:33:14 +03:00 by kerem · 1 comment
Owner

Originally created by @RCoeurjoly on GitHub (Jan 29, 2022).
Original GitHub issue: https://github.com/DBDiff/DBDiff/issues/129

I downloaded the executable from the releases page.

I execute the following command:
./dbdiff.phar --config=/home/drcoeurjoly/DBDiff/.dbdiff.example server1.db1:server1.db1

.dbdiff.example being the example provided by this repo, substituting the variables. I have check that the database indeed exists with a SQL client.

How can I debug this?

Originally created by @RCoeurjoly on GitHub (Jan 29, 2022). Original GitHub issue: https://github.com/DBDiff/DBDiff/issues/129 I downloaded the executable from the [releases page](https://github.com/DBDiff/DBDiff/releases/tag/v1.0.0). I execute the following command: `./dbdiff.phar --config=/home/drcoeurjoly/DBDiff/.dbdiff.example server1.db1:server1.db1` .dbdiff.example being the example provided by this repo, substituting the variables. I have check that the database indeed exists with a SQL client. How can I debug this?
Author
Owner

@astrobatty commented on GitHub (May 24, 2024):

You probably have to install php mysql. You can use sudo apt-get install php-mysql.

<!-- gh-comment-id:2129870431 --> @astrobatty commented on GitHub (May 24, 2024): You probably have to install [php mysql](https://stackoverflow.com/a/2852997/11413490). You can use `sudo apt-get install php-mysql`.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/DBDiff#93
No description provided.