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,

Comments

 
1 year, 7 months ago RAN 55

Thanks to both of you, but we think the problem is our proxy configuration. Sorry about that,

 
1 year, 7 months ago Daniel Bartholomew

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:

sudo bash Maria_install.sh -s -- --os-type=debian --os-version=11 --mariadb-server-version="mariadb-10.5"

Alternatively, after downloading the script, make executable and then run it directly:

wget https://r.mariadb.com/downloads/mariadb_repo_setup
chmod +x mariab_repo_setup
sudo ./mariadb_repo_setup --os-type=debian --os-version=11 --mariadb-server-version="mariadb-10.5"
 
1 year, 7 months ago Ian Gilfillan

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.

 
Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.
Back to Top