Richardm

Richardm

Ah, that might have been the issue then, as I was using wsl.

1
Post #21
Silent-Wraith01

Silent-Wraith01 OP

So I fully installed MariaDB and MySQLite 3 and now I still get the same error even after I turn off PostgreSQL and enable MariaDB. I need to update MySQL lite 3 as I understand and learn how to make these two work with my development projects.

0
Post #22
NobbZ

NobbZ

What is the error?

0
Post #23
Silent-Wraith01

Silent-Wraith01 OP

dev@dev:~$ sudo apt full-upgrade
[sudo] password for dev:
Reading package lists… Done
Building dependency tree… Done
Reading state information… Done
Calculating upgrade… Done
Get more security updates through Ubuntu Pro with ‘esm-apps’ enabled:
vlc-plugin-qt libvlc5 libpostproc-dev libzvbi-common vlc-data libvlccore9
vlc python3-virtualenv vlc-bin libcjson1 libavdevice60 libpostproc57
libswscale-dev libsvn1 libavdevice-dev libavcodec60
libgstreamer-plugins-bad1.0-0 libzvbi0t64 libavutil58 libswscale7
libavutil-dev libswresample4 vlc-plugin-video-output libavfilter-dev
rapidjson-dev 7zip libavformat60 gstreamer1.0-plugins-bad libvlccore-dev
libavformat-dev libavcodec-dev subversion libvlc-bin libvlc-dev
libswresample-dev vlc-plugin-base libavfilter9
Learn more about Ubuntu Pro at Ubuntu Pro | Ubuntu
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
dev@dev:~$ sudo apt update && upgrade
Hit:1 Index of /ubuntu noble-security InRelease
Hit:2 Index of /ubuntu noble InRelease
Hit:3 Index of /ubuntu noble-updates InRelease
Hit:4 Index of /ubuntu noble-backports InRelease
Reading package lists… Done
Building dependency tree… Done
Reading state information… Done
All packages are up to date.
upgrade: command not found
dev@dev:~$ sudo systemctl stop postgresql
dev@dev:~$ sudo status postgresql
sudo: status: command not found
dev@dev:~$ sudo systemctl status postgresql
○ postgresql.service - PostgreSQL RDBMS
Loaded: loaded (/usr/lib/systemd/system/postgresql.service; disabled; pres>
Active: inactive (dead)
lines 1-3/3 (END)

0
Post #24
Silent-Wraith01

Silent-Wraith01 OP

I am able to enable it and i can easily disable Postgresql but whenever i try to do iex -S mix phx.server i get my original error.

0
Post #25
NobbZ

NobbZ

So postgres has been stopped, by you. But what is the actual problem with using PostgreSQL?

1
Post #26
NobbZ

NobbZ

Which one?

I don’t remember one that was PostgreSQL related, only one that was SSL related.

0
Post #27
Silent-Wraith01

Silent-Wraith01 OP

dev@dev:~$ sudo apt full-upgrade
[sudo] password for dev:
Reading package lists… Done
Building dependency tree… Done
Reading state information… Done
Calculating upgrade… Done
Get more security updates through Ubuntu Pro with ‘esm-apps’ enabled:
vlc-plugin-qt libvlc5 libpostproc-dev libzvbi-common vlc-data libvlccore9
vlc python3-virtualenv vlc-bin libcjson1 libavdevice60 libpostproc57
libswscale-dev libsvn1 libavdevice-dev libavcodec60
libgstreamer-plugins-bad1.0-0 libzvbi0t64 libavutil58 libswscale7
libavutil-dev libswresample4 vlc-plugin-video-output libavfilter-dev
rapidjson-dev 7zip libavformat60 gstreamer1.0-plugins-bad libvlccore-dev
libavformat-dev libavcodec-dev subversion libvlc-bin libvlc-dev
libswresample-dev vlc-plugin-base libavfilter9
Learn more about Ubuntu Pro at Ubuntu Pro | Ubuntu
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
dev@dev:~$ sudo apt update && upgrade
Hit:1 Index of /ubuntu noble-security InRelease
Hit:2 Index of /ubuntu noble InRelease
Hit:3 Index of /ubuntu noble-updates InRelease
Hit:4 Index of /ubuntu noble-backports InRelease
Reading package lists… Done
Building dependency tree… Done
Reading state information… Done
All packages are up to date.
upgrade: command not found
dev@dev:~$ sudo systemctl stop postgresql
dev@dev:~$ sudo status postgresql
sudo: status: command not found
dev@dev:~$ sudo systemctl status postgresql
○ postgresql.service - PostgreSQL RDBMS
Loaded: loaded (/usr/lib/systemd/system/postgresql.service; disabled; pres>
Active: inactive (dead)
lines 1-3/3 (END)

0
Post #28
Silent-Wraith01

Silent-Wraith01 OP

I’m currently trying to get MariaDB to work and connect with Phoenix but it’s not wanting to.

0
Post #29
waseigo

waseigo

SQLite is fine even for production, if your application is read-heavy.

2
Post #30