Is the following shell script syntactically correct ? If it…
Is the following shell script syntactically correct ? If it is not explain what is wrong with it. $ cat script.shmysql -d final -e “CREATE TABLE grader( id INT PRIMARY KEY, letter VARCHAR(1) );” mysql -d final -e “INSERT INTO TABLE VALUES( ‘1’, ‘A’ );” mysql -d final -e “INSERT INTO TABLE VALUES( ‘2’, ‘A’ );” mysql -d final -e “INSERT INTO TABLE VALUES( ‘3’, ‘B’ );” mysql -d final -e “INSERT INTO TABLE VALUES( ‘4’, ‘B’ );” mysql -d final -e “INSERT INTO TABLE VALUES( ‘5’, ‘C’ );”
Read DetailsWhen trying to install MariaDB 10.3.X, you must add this con…
When trying to install MariaDB 10.3.X, you must add this config to the following path ___________on your package managerProvide the folder path for the following repository [mariadb]name = MariaDBbaseurl =http://yum.mariadb.org/10.3/centos7-amd64gpgkey=https://yum.mariadb.org/RPM-GPG-KEY-MariaDBgpgcheck=1
Read DetailsBased on the HAProxy configuration below, open the ports for…
Based on the HAProxy configuration below, open the ports for the services on the firewall. Assume all ports only need TCP. $ cat /etc/haproxy/haproxy.cfgglobal log 127.0.0.1 local0 noticemaxconn 2000user haproxygroup haproxydefaultslog globalmode tcptimeout connect 5000timeout client 10000timeout server 10000frontend mysql bind :5432 default_backend app_postgressbackend app_postgress balance roundrobin server app1_postgress 10.128.1.90:5544 server app2_postgress 10.128.1.91:5544frontend mssql bind :1433 default_backend app_mssqlbackend app_mssql balance roundrobin server app1_mssql 10.128.1.90:1444 server app2_mssql 10.128.1.91:1444
Read Details