Re: Error connecting to cassandra through php/browser

2021-04-10 Thread Shabu Khan
Thank you Bowen. Much appreciated. You were right. I disabled the selinux and I got past that error/page. ## To temporarily disable selinux on centos 7 $ sudo setenforce 0 ## To permanently disable, set SELINUX=disabled in /etc/selinux/config -Shabu On Sun, Apr 11, 2021 at 1:26 AM Bowen Song

Re: Error connecting to cassandra through php/browser

2021-04-10 Thread Bowen Song
What do you mean "through the browser"? Is it a php page that runs on something like Apache/Nginx? If that's the case, and the same code and the same setup works on Ubuntu 18 but not CentOS 7, I would recommend you to have a look at the SELinux logs. On 10/04/2021 14:01, Shabu Khan wrote: Hel

Error connecting to cassandra through php/browser

2021-04-10 Thread Shabu Khan
Hello: When I try this from the command line it works: [root@localhost cassandra]# cqlsh -u testuser -p Welcome123! -k testapp Connected to Test Cluster at 127.0.0.1:9042. [cqlsh 5.0.1 | Cassandra 3.11.10 | CQL spec 3.4.4 | Native protocol v4] Use HELP for help. testuser@cqlsh:testapp> But throu