CREATE TABLE suppliers ( SupplierID SMALLINT UNSIGNED ZEROFILL NOT NULL AUTO_INCREMENT, SupplierName VARCHAR(40) NOT NULL, Phone VARCHAR(14) NOT NULL, Email VARCHAR(60) NULL, PRIMARY KEY (SupplierID) ); INSERT INTO suppliers (SupplierName, Phone, Email) VALUES ('ABCSupplier','1122334455','abc@dicforum.com');
Thursday, 25 June 2015
create simple mysql table for testing
Monday, 22 June 2015
VirtualBox: port forwarding to guest from host
Something weird in the new (2015-06) version.
ssh -p 2222 myuser@localhost
where myuser is user you created when you installed Linux OS on to VM.
- Network
- Set "NAT"
- Click "Port Forwarding"
- "Insert new rule" (right-hand nav button)
- Rule 1
- Host IP: 127.0.0.1
- Host port: 2222
- Guest IP: [leave blank]
- Guest Port: 22
ssh -p 2222 myuser@localhost
where myuser is user you created when you installed Linux OS on to VM.
Monday, 1 June 2015
Connect to remote JMX over ssh and jconsole
ssh -N -f -D 7777 dev-cass-10.mydomain.internal jconsole -J-DsocksProxyHost=localhost -J-DsocksProxyPort=7777 service:jmx:rmi:///jndi/rmi://localhost:7199/jmxrmi
Subscribe to:
Posts (Atom)
Interview questions: 2020-12
Terraform provider vs provisioner Load balancing Network Load Balancer vs Application Load Balancer Networking Layer 1 vs Layer 4 haproxy u...
-
kubectl --cert=/tmp/tls.crt --key=/tmp/tls.key create secret tls tls-wc-ingress
-
apt-get install exim4 dpkg-reconfigure exim4-config Select: internet site; mail is sent and received directly using SMTP IP-addresses...
-
brew install python3 mkdir -p ~/bin/python3 python3 -m venv ~/bin/python3 source ~/bin/python3/bin/activate enjoy!