Skip to content

Tag: database

Clickhouse connection refuse

I have a problem with connection to clickhouse-server by http over 8123 port. All parameters are default. Please help me to resolve this problem. Answer First of all check if even you clickhouse-server is running properly or not using this command: sudo lsof -i :8123 You should be able to see a similar output…

Laravel custom db driver

i know there is a nice way of defining connections via app/config/database.php . But i don’t think there is a driver for me available. Imagine my db is read from file, like a txt. (Yeah! that’s my client db, sort of). So in that file, before I i need a real driver! Currently it uses a txt base db …

How to create an array from a MySQL query?

I have a HTML search form made with PHP that connects to a MySQL database, finds a table with columns and rows and then displays this data with an echo under the table. The columns are id, name, short, short_withtag and url. The problem is, if I enter a keyword like pie (such a term existing in all of the