After i access MYIP/phpmyadmin and got messsage.
sudo apt-get update sudo apt-get install phpmyadmin php-mbstring php-gettext (has been selected Apache) sudo systemctl restart apache2. If this the best way, how do I connect my variable “pool” from server.js to query.js. I follow this tutorial to install my phpmyadmin like. My question is this method is the best way to work with many queries from many routes. My question is when we have with many queries from many routes. So the first method is to use a third party software repository for Ubuntu Linux 14.04. Another method is to install and compile PHP 7 from the Source. One method is to use a third party repository and install PHP 7 using apt-get install command. Pool.getConnection(function(err,connection)) There are two methods we can use to install PHP 7 on Ubuntu Linux. my question is when I have with many queries to my database from different routes. (/home/cbergoon/Documents/Projects/test/node_modules/mysql/lib/Connection.js:82:28)Īlso note this is using the ‘production’ example…įirst all, thank for this great and fabulous tutorial !!! Use tMaxListeners() to increase limit.Īt PoolConnection.addListener (events.js:160:15)Īt /home/cbergoon/Documents/Projects/test/app.js:32:20Īt Ping.onPing (/home/cbergoon/Documents/Projects/test/node_modules/mysql/lib/Pool.js:94:5)Īt (/home/cbergoon/Documents/Projects/test/node_modules/mysql/lib/protocol/sequences/Sequence.js:96:24)Īt (/home/cbergoon/Documents/Projects/test/node_modules/mysql/lib/protocol/sequences/Sequence.js:105:8)Īt Protocol._parsePacket (/home/cbergoon/Documents/Projects/test/node_modules/mysql/lib/protocol/Protocol.js:271:23)Īt Parser.write (/home/cbergoon/Documents/Projects/test/node_modules/mysql/lib/protocol/Parser.js:77:12)Īt Protocol.write (/home/cbergoon/Documents/Projects/test/node_modules/mysql/lib/protocol/Protocol.js:39:16)Īt Socket.
(node) warning: possible EventEmitter memory leak detected. Hello and thanks for taking the time to write this… I am getting the following warning while running your code after ten requests.