database connection works on localhost, now testing on server.

This commit is contained in:
Joshua Ashton
2025-02-07 17:00:20 -07:00
parent 06f7540b26
commit 6bf1b9669d
9 changed files with 66 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
-------------------------- copy and paste to your local mysql server -------------------------------
drop database if exists palindromes;
create database palindromes;
use palindromes;
create table palindrome (id int auto_increment primary key, phrase varchar(255));
insert into palindrome (phrase) values ('race car'), ('bob'), ('senile felines'), ('stack cats');
select * from palindrome;
----------------------------------------------------------------------------------------------------
---------------------------- copy and paste to your remote server ----------------------------------
create table palindrome (id int auto_increment primary key, phrase varchar(255));
insert into palindrome (phrase) values ('race car'), ('bob'), ('senile felines'), ('stack cats');
select * from palindrome;
----------------------------------------------------------------------------------------------------