All Questions
Tagged with mysql mysql-connection
23 questions
0
votes
2
answers
56
views
What is the correct "mysql-client" package to install in Debian 12?
In Debian Desktop 12 if I want to do a remote connection as client to a MySQL Server in other machine in the LAN I need use the mysql command, when it is executed happens the following:
manueljordan@...
1
vote
0
answers
103
views
mysqld thread count exceeds max_connections
As the question title suggests: I have set max_connections = 2 in my my.cnf file, but when I activate my mysql daemon, the thread count sits at 37. I am searching online but cannot find indication my ...
0
votes
0
answers
312
views
How to Fix "MySQL error message was : DBI connect failed : Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) ?"
I upgraded my VPS with the provider Contabo, and since then, I have been experiencing issues. Unfortunately, they have not been responsive or provided any support.
when i do command : service mysql ...
-1
votes
1
answer
544
views
error in installing mysql and connecting to it in wsl2 (Ubunto 22.04)
I am trying to install MySQL on Ubuntu 22.04 (WSL2) and these are the steps that I did:
1- Installing mysql server:
root@mans-pc:~# sudo apt-get update
Get:1 http://security.ubuntu.com/ubuntu jammy-...
0
votes
0
answers
37
views
wordpress can not find database, while mysql_client can
I am trying to prepare a WordPress site, on my public web server, running apache2. The database host, I am trying to use, for the WordPress installation, is another server.
While I can successfully ...
0
votes
1
answer
1k
views
How do you completely exit mysqld_safe or kill it?
I opened mysqld_safe for some reason in Linux but now I can't completely exit or kill it! Closing the terminal didn't help. Then I tried with kill -9 <process id(s)> and I killed 2 processes but ...
-2
votes
1
answer
2k
views
After installing Xampp correctly it's not open into browser in Kali Linux
Firstly I text the command on my terminal like sudo /opt/lampp/lampp start
sudo /opt/lampp/lampp start
[sudo] password for tayef:
Starting XAMPP for Linux 7.2.34-0...
XAMPP: Starting Apache...ok.
...
0
votes
0
answers
2k
views
ERROR 2002 (HY000): Can't connect to MySQL server on 'xx.xxx.xxx.xxx' (115)
I wanted to connect to memsql but when I try i wasn't able to connect , I get error as:
mysql -u root -h 127.0.0.1 -P 3306 --prompt="memsql> "
ERROR 2002 (HY000): Can't connect to MySQL server on '...
0
votes
0
answers
2k
views
MariaDB: ERROR 2006 (HY000): MySQL server has gone away
When i try to execute a query i got error:
MariaDB [suitecrm]> select * from waiter_log;
ERROR 2006 (HY000): MySQL server has gone away
No connection. Trying to reconnect...
An error ...
1
vote
1
answer
1k
views
mysql database won't allow tcp connections on localhost at the default port
Trying to connect to a database with a c++ program. I am using the mysqlcppconnector with the connection strings tcp://localhost:3306 and tcp://127.0.0.1:3306. The program works on my local machine, ...
1
vote
0
answers
218
views
SSH Tunnel/Reverse Tunnel Question
I am attempting to daisy chain tunnels/ports to access mysql on a secured server. Without opening up iptables, I would like to, from my local machine:
mysql -uadmin_user -p -hlocalhost:8002
and have ...
1
vote
1
answer
652
views
MySQL Java connector still using old java version?
Installing mysql-connector-java-8.0.15-1.el6.noarch.rpm (available here ) shows libgcj package as a dependency.
Installing libgcj creates below file:
/usr/bin/gij
$/usr/bin/gij -version
java version ...
0
votes
3
answers
99
views
Login into Mysql without startx
I have had install Damn small Linux(DSL) 10 in Virtual Box with MySQL 5. I created already a database with a Table and Data in it. I can access it over the terminal with the following line:
mysql -u ...
1
vote
0
answers
221
views
setup mysql with django
I am trying to setup mysql server with my django application but I am having trouble installing it correctly.
I used brew install mysql to install mysql server
Then I used pip install mysqlclient ...
9
votes
2
answers
10k
views
SSH tunnel via MySQL Workbench
my new production server is only visible via ssh double tunnel. I can reach targetHost over Ubuntu's 14.04 console simply executing command ssh targetHost and than executing mysql cli on remote ...