You may need to configure a proxy server if you're having trouble cloning
or fetching from a remote repository or getting an error
like unable to access '...' Couldn't resolve host '...'.
Consider something like:
| CREATE TABLE users ( | |
| id INT AUTO_INCREMENT PRIMARY KEY, | |
| username VARCHAR(255) NOT NULL UNIQUE, | |
| password VARCHAR(255) NOT NULL | |
| ); | |
| CREATE TABLE conversations ( | |
| id INT AUTO_INCREMENT PRIMARY KEY, | |
| name VARCHAR(255) NOT NULL, | |
| created_at DATETIME DEFAULT CURRENT_TIMESTAMP |
| SELECT | |
| * | |
| FROM | |
| messages, | |
| ( | |
| SELECT | |
| MAX(id) as lastid | |
| FROM | |
| messages | |
| WHERE |
| #!/bin/bash | |
| #ubuntu 20.04 | |
| #php8.1 | |
| # install php ppa | |
| apt -y install software-properties-common | |
| add-apt-repository ppa:ondrej/php -y | |
| apt update |