Having trouble with connecting to MySQL server [on hold] Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 23, 2019 at 00:00UTC (8:00pm US/Eastern) 2019 Community Moderator Election Results Why I closed the “Why is Kali so hard” questionUninstall MySQL server without removing or breaking any client functionalityConnecting from OpenVPN Server to MySQL ServerCan't start mysql on Fedora 19Mysql database didn't connect through sqlyog or any other mysql software?php server can't connect to the remote mysql serverZombie mysql process ? - linux Mintforward all mysql traffic to a ssh tunnelFedora and remote mysql in httpdError 2002 MYSQL OS X 10.11Is changing the system hostname on a server with a running MySQL / MariaDB service harmful?
Why is Nikon 1.4g better when Nikon 1.8g is sharper?
Maximum summed subsequences with non-adjacent items
Why should I vote and accept answers?
What are the diatonic extended chords of C major?
What do you call the main part of a joke?
Trademark violation for app?
How come Sam didn't become Lord of Horn Hill?
What is the appropriate index architecture when forced to implement IsDeleted (soft deletes)?
Can anything be seen from the center of the Boötes void? How dark would it be?
Using audio cues to encourage good posture
Chinese Seal on silk painting - what does it mean?
Why do early math courses focus on the cross sections of a cone and not on other 3D objects?
Time to Settle Down!
How does the secondary effect of the Heat Metal spell interact with a creature resistant/immune to fire damage?
An adverb for when you're not exaggerating
Taylor expansion of ln(1-x)
Can the Great Weapon Master feat's damage bonus and accuracy penalty apply to attacks from the Spiritual Weapon spell?
What is "gratricide"?
Most bit efficient text communication method?
Do any jurisdictions seriously consider reclassifying social media websites as publishers?
Sum letters are not two different
Why does the remaining Rebel fleet at the end of Rogue One seem dramatically larger than the one in A New Hope?
Why do we need to use the builder design pattern when we can do the same thing with setters?
Putting class ranking in CV, but against dept guidelines
Having trouble with connecting to MySQL server [on hold]
Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 23, 2019 at 00:00UTC (8:00pm US/Eastern)
2019 Community Moderator Election Results
Why I closed the “Why is Kali so hard” questionUninstall MySQL server without removing or breaking any client functionalityConnecting from OpenVPN Server to MySQL ServerCan't start mysql on Fedora 19Mysql database didn't connect through sqlyog or any other mysql software?php server can't connect to the remote mysql serverZombie mysql process ? - linux Mintforward all mysql traffic to a ssh tunnelFedora and remote mysql in httpdError 2002 MYSQL OS X 10.11Is changing the system hostname on a server with a running MySQL / MariaDB service harmful?
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
I'm using a Dragino LG01 gateway which is running a Linux system. I want to connect the gateway to a MySQL database (using XAMPP). There is a tutorial for doing this but I am still having problems.
When I try to test the script by running the
lua linkmysql.lua
command I get the following error
lua: linkmysql.lua:7: LuaSQL: error connecting to database. MySQL:
Can't connect to local MySQL server through socket '/tmp' (146)
linux mysql
New contributor
put on hold as unclear what you're asking by Rui F Ribeiro, msp9011, Mr Shunz, teppic, X Tian yesterday
Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.
add a comment |
I'm using a Dragino LG01 gateway which is running a Linux system. I want to connect the gateway to a MySQL database (using XAMPP). There is a tutorial for doing this but I am still having problems.
When I try to test the script by running the
lua linkmysql.lua
command I get the following error
lua: linkmysql.lua:7: LuaSQL: error connecting to database. MySQL:
Can't connect to local MySQL server through socket '/tmp' (146)
linux mysql
New contributor
put on hold as unclear what you're asking by Rui F Ribeiro, msp9011, Mr Shunz, teppic, X Tian yesterday
Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.
in your lua file can you tell it to connect to TCP/IP at 127.0.0.1 ? Alternatively, set the correct location for the socket if mysql is configured to listen in that fashion. in short, confirm where mysql is listening. confirm in your .lua file it is pointing to the right spot.
– ivanivan
Apr 14 at 17:29
If you are using a tcp connection and you are usinglocalhost
, then try127.0.0.1
instead (yes, it's crazy). See Can't connect to local MySQL server.
– Freddy
Apr 14 at 17:36
add a comment |
I'm using a Dragino LG01 gateway which is running a Linux system. I want to connect the gateway to a MySQL database (using XAMPP). There is a tutorial for doing this but I am still having problems.
When I try to test the script by running the
lua linkmysql.lua
command I get the following error
lua: linkmysql.lua:7: LuaSQL: error connecting to database. MySQL:
Can't connect to local MySQL server through socket '/tmp' (146)
linux mysql
New contributor
I'm using a Dragino LG01 gateway which is running a Linux system. I want to connect the gateway to a MySQL database (using XAMPP). There is a tutorial for doing this but I am still having problems.
When I try to test the script by running the
lua linkmysql.lua
command I get the following error
lua: linkmysql.lua:7: LuaSQL: error connecting to database. MySQL:
Can't connect to local MySQL server through socket '/tmp' (146)
linux mysql
linux mysql
New contributor
New contributor
edited Apr 14 at 17:03
Romeo Ninov
7,04232129
7,04232129
New contributor
asked Apr 14 at 16:57
MattMatt
61
61
New contributor
New contributor
put on hold as unclear what you're asking by Rui F Ribeiro, msp9011, Mr Shunz, teppic, X Tian yesterday
Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.
put on hold as unclear what you're asking by Rui F Ribeiro, msp9011, Mr Shunz, teppic, X Tian yesterday
Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.
in your lua file can you tell it to connect to TCP/IP at 127.0.0.1 ? Alternatively, set the correct location for the socket if mysql is configured to listen in that fashion. in short, confirm where mysql is listening. confirm in your .lua file it is pointing to the right spot.
– ivanivan
Apr 14 at 17:29
If you are using a tcp connection and you are usinglocalhost
, then try127.0.0.1
instead (yes, it's crazy). See Can't connect to local MySQL server.
– Freddy
Apr 14 at 17:36
add a comment |
in your lua file can you tell it to connect to TCP/IP at 127.0.0.1 ? Alternatively, set the correct location for the socket if mysql is configured to listen in that fashion. in short, confirm where mysql is listening. confirm in your .lua file it is pointing to the right spot.
– ivanivan
Apr 14 at 17:29
If you are using a tcp connection and you are usinglocalhost
, then try127.0.0.1
instead (yes, it's crazy). See Can't connect to local MySQL server.
– Freddy
Apr 14 at 17:36
in your lua file can you tell it to connect to TCP/IP at 127.0.0.1 ? Alternatively, set the correct location for the socket if mysql is configured to listen in that fashion. in short, confirm where mysql is listening. confirm in your .lua file it is pointing to the right spot.
– ivanivan
Apr 14 at 17:29
in your lua file can you tell it to connect to TCP/IP at 127.0.0.1 ? Alternatively, set the correct location for the socket if mysql is configured to listen in that fashion. in short, confirm where mysql is listening. confirm in your .lua file it is pointing to the right spot.
– ivanivan
Apr 14 at 17:29
If you are using a tcp connection and you are using
localhost
, then try 127.0.0.1
instead (yes, it's crazy). See Can't connect to local MySQL server.– Freddy
Apr 14 at 17:36
If you are using a tcp connection and you are using
localhost
, then try 127.0.0.1
instead (yes, it's crazy). See Can't connect to local MySQL server.– Freddy
Apr 14 at 17:36
add a comment |
0
active
oldest
votes
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
in your lua file can you tell it to connect to TCP/IP at 127.0.0.1 ? Alternatively, set the correct location for the socket if mysql is configured to listen in that fashion. in short, confirm where mysql is listening. confirm in your .lua file it is pointing to the right spot.
– ivanivan
Apr 14 at 17:29
If you are using a tcp connection and you are using
localhost
, then try127.0.0.1
instead (yes, it's crazy). See Can't connect to local MySQL server.– Freddy
Apr 14 at 17:36