Problem installing Mariadb on a Debian
Hello, Im trying to intall Mariadb with this command: curl -LsS https://r.mariadb.com/downloads/mariadb_repo_setup | sudo bash -s -- --os-type=debian --os-version=11 --mariadb-server-version="mariadb-10.5"
curl: (28) Failed to connect to dlm.mariadb.com port 443: Connection timed out
I have downloaded the script to execute it as sudo. sh Maria_install.sh -s -- --os-type=debian --os-version=11 --mariadb-server-version="mariadb-10.5"
I got this error: 159: Syntax error: "(" unexpected the 159 line is > key_ids=( 0x8167EE24 0xE3C94F49 0xcbcb082a1bb943db 0xf1656f24c74cd1d8 0x135659e928c12247 )
How can i solve the problem ?
Thanks
Answer Answered by RAN 55 in this comment.
Thanks to both of you, but we think the problem is our proxy configuration. Sorry about that,
Thanks to both of you, but we think the problem is our proxy configuration. Sorry about that,
The script is not compatible with
dash
, the shell/usr/bin/sh
is linked to by default on Debian 11. So change your execute line to:Alternatively, after downloading the script, make executable and then run it directly:
I can't help with that particular script, but if you're just trying in general to install MariaDB on Debian, you can follow the repo setup instructions at Download MariaDB Server. Debian 12 is not yet present as it wasn't available at the time of the previous MariaDB releases, but it will be there when the next batch of MariaDB releases come out, which should be very soon.