https://evothings.com/control-an-led-using-hm-10-ble-module-an-arduino-and-a-mobile-app/
Engineering and technology
Orange Pi Zero Google Cloud Print Server
grant remote access of MySQL database from any IP address
Config file changes are required to enable connections via localhost.
To connect through remote IPs, Login as a “root” user and run the below queries in mysql.
CREATEUSER'username'@'localhost'IDENTIFIEDBY'password';GRANTALLPRIVILEGESON*.*TO'username'@'localhost'WITHGRANTOPTION;CREATEUSER'username'@'%'IDENTIFIEDBY'password';GRANTALLPRIVILEGESON*.*TO'username'@'%'WITHGRANTOPTION;FLUSH PRIVILEGES;
This will create a new user that is accessible on localhost as well as from remote IPs.
Also comment the below line from your my.cnf file located in /etc/mysql/my.cnf
bind-address=127.0.0.1
Restart your mysql using
sudo service mysql restart
Now you should be able to connect remotely to your mysql.
Source: grant remote access of MySQL database from any IP address – Stack Overflow
Install Tomcat 8 server on Ubuntu 18.04 Bionic Beaver Linux
What is the Tomcat installation directory?
TP-Link Archer C20i AC750
php – Storing database records into array
I would want to create an array that will hold records retrieved from a database using a query of SELECT statement.
The records to be retrieved have multiple fields such as lastname, firstname, mi and 20 more fields. What would be the best approach on coding this function?
alright i have followed what prisoner have given below.. the next question is how do i search through this kind of array using queries? for example i want to search for a username..
Source: php – Storing database records into array – Stack Overflow
IntelliJ IDEA – Wikipedia
Ова IDE користи го за java development.
Source: IntelliJ IDEA – Wikipedia