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;








1















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)









share|improve this question









New contributor




Matt is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











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 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


















1















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)









share|improve this question









New contributor




Matt is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











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 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














1












1








1








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)









share|improve this question









New contributor




Matt is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.












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






share|improve this question









New contributor




Matt is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|improve this question









New contributor




Matt is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this question




share|improve this question








edited Apr 14 at 17:03









Romeo Ninov

7,04232129




7,04232129






New contributor




Matt is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked Apr 14 at 16:57









MattMatt

61




61




New contributor




Matt is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





Matt is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






Matt is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




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 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


















  • 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

















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











0






active

oldest

votes

















0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes

Popular posts from this blog

getting Checkpoint VPN SSL Network Extender working in the command lineHow to connect to CheckPoint VPN on Ubuntu 18.04LTS?Will the Linux ( red-hat ) Open VPNC Client connect to checkpoint or nortel VPN gateways?VPN client for linux machine + support checkpoint gatewayVPN SSL Network Extender in FirefoxLinux Checkpoint SNX tool configuration issuesCheck Point - Connect under Linux - snx + OTPSNX VPN Ububuntu 18.XXUsing Checkpoint VPN SSL Network Extender CLI with certificateVPN with network manager (nm-applet) is not workingWill the Linux ( red-hat ) Open VPNC Client connect to checkpoint or nortel VPN gateways?VPN client for linux machine + support checkpoint gatewayImport VPN config files to NetworkManager from command lineTrouble connecting to VPN using network-manager, while command line worksStart a VPN connection with PPTP protocol on command linestarting a docker service daemon breaks the vpn networkCan't connect to vpn with Network-managerVPN SSL Network Extender in FirefoxUsing Checkpoint VPN SSL Network Extender CLI with certificate

Cannot Extend partition with GParted The 2019 Stack Overflow Developer Survey Results Are In Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern) 2019 Community Moderator Election ResultsCan't increase partition size with GParted?GParted doesn't recognize the unallocated space after my current partitionWhat is the best way to add unallocated space located before to Ubuntu 12.04 partition with GParted live?I can't figure out how to extend my Arch home partition into free spaceGparted Linux Mint 18.1 issueTrying to extend but swap partition is showing as Unknown in Gparted, shows proper from fdiskRearrange partitions in gparted to extend a partitionUnable to extend partition even though unallocated space is next to it using GPartedAllocate free space to root partitiongparted: how to merge unallocated space with a partition

Marilyn Monroe Ny fiainany manokana | Jereo koa | Meny fitetezanafanitarana azy.