I'm trying to get a file from Mysql webpage from command line Ubuntu:
wget "http://dev.mysql.com/get/mysql-apt-config_0.8.3-1_all.deb"
But I'm getting error:
--2017-10-09 15:22:23-- http://dev.mysql.com/get/mysql-apt-config_0.8.3-1_all.deb
Resolving dev.mysql.com (dev.mysql.com)... 137.254.60.11
Connecting to dev.mysql.com (dev.mysql.com)|137.254.60.11|:80... failed: Connection refused.
What is the reason for this connection refuse error ?
Related
I have a remote MySQL server which I can connect to via my command line.
But when I try to run npx prisma db pull
it gives me this error:
Error: Error in connector: Error querying the database: Error querying the database: Error querying the database: Server error: ERROR 08S01 (1043): Bad handshake'
What did I do
My prisma database url is: mysql://sven:<URL-ENCODEDPASSWORD>#<IP-ADDRESS>3306/portfolio?sslidentity=client-identity.p12&sslpassword=<SSL-PASSORD>&sslcert=ca.pem
I copied the ssl certificate and keys like this, I made sure I copied it right.
:
sudo cat /var/lib/mysql/client-key.pem
sudo cat /var/lib/mysql/client-cert.pem
sudo cat /var/lib/mysql/ca.pem
following the documention I made the one sslindentiy of it.
When connecting from my command line I do this with the following command: mysql -usven -h<ip-address> -p
Does anyone have an idea how to fix this issue?
Hi I'm unable to start my mysql and subversion using root as user.When im trying to start it by ./ctlscript.sh start mysql it is showing that mysql could not be started.The same is happening in the case of subversion also.In logs its showing that
error: Can't connect to local MySQL server through socket '/data/redmine/mysql/tmp/mysql.sock' (2) (Mysql2::Error)
error: [ pid=6349 thr=139977144923904 file=ext/common/agents/HelperAgent/RequestHandler.h:1731 time=2014-09-29 12:54:58.7821 ]: [Client 23] Cannot checkout session. An error occured while starting up the preloader.
Can any one help?
Please check whether your root user has the permission to start the mysql and other services.
If not please give the permissions using CHMOD
I configured hive with MYSQL as repository. When I start the hive server using my standard user (infa_hadoop) it is giving me an error "cant connect to metastore using the URI provided".
But if I login as root and start the hive server it starts well.
command used:
hive --service hiveserver
But when I tried to execute the ETL job (informatica) it is giving me the Access control exception!
Error :
Function [INFASQLExecute] failed in adapter [/u01/app/informatica/plugins/dynamic/hiveruntime/libhive.so] with error code [-1].
FnName: INFASQLExecute -- execute(). SQLException: Query returned non-zero code: 12, cause: FAILED: Hive Internal Error: java.lang.RuntimeException(org.apache.hadoop.security.AccessControlException: org.apache.hadoop.security.AccessControlException: Permission denied: user=root, access=WRITE, inode="scratchdir":Infa_Linux:supergroup:rwxr-xr-x)
Function [INFASQLGetDiagRecW] failed in adapter [/u01/app/informatica/plugins/dynamic/hiveruntime/libhive.so] with error code [100].
FnName: INFASQLExecute -- execute(). SQLException: Query returned non-zero code: 12, cause: FAILED: Hive Internal Error: java.lang.RuntimeException(org.apache.hadoop.security.AccessControlException: org.apache.hadoop.security.AccessControlException: Permission denied: user=root, access=WRITE, inode="scratchdir":Infa_Linux:supergroup:rwxr-xr-x)
Function [INFASQLGetDiagRecW] failed in adapter [/u01/app/informatica/plugins/dynamic/hiveruntime/libhive.so] with error code [100].].
But hive is working fine in command promt ? Any suggestions..
First, please check if your hive thrift server is up and running .
It is advised to use the following command to start the hive thrift server
hive --service hiveserver -p 10001
Telnet and check if the server is running in port 10001 , If yes I suppose your issue would be resolved
I have a .sql file on windows that I want to run on mysql server that is present on centOS. I am using the following command to connect and execute the .sql file-
mysql -u user_name -ppassw0rd -h [ip address of centOS] -P [port used
by mysql server] --verbose < file path on windows.
But on executing this command i am getting an error as :
ERROR 2013 (HY000) at line 3: Lost connection to MySQL server during
query
Also is there any way to see the errors that occur when query is executed.
Note - I am using mysql command line tool on windows to run the above command.
In my form field type, i edit the file menu these error will appear,
Fatal error: Uncaught exception 'PDOException' with message
'SQLSTATE[HY000]: General error: 2006 MySQL server has gone away' in
D:\wamp\www\cms_development\includes\database\database.inc on line
2168 ( ! ) PDOException: SQLSTATE[HY000]: General error: 2006 MySQL
server has gone away in
D:\wamp\www\cms_development\includes\database\database.inc on line
2168
Anybody Know how to rectify this error...
This may be because of max_allowed_packet
Change in the my.ini/my.cnf file. Include the single line under [mysqld] in your file
max_allowed_packet=500M
now restart the MySQL service once you are done. You can see it's curent value in mysql like this:
SHOW VARIABLES LIKE 'max_allowed_packet'
You can read about it here http://dev.mysql.com/doc/refman/5.1/en/packet-too-large.html
This is for Linux Users.In terminal,
Step 1:
locate my.cnf
And you copy the Path
Step 2:
sudo gedit "Paste the path"
Step 4:
Changed "max_allowed_packet" from "1m" to "32m" and saved my.cnf
sudo "path" restart
(or) Do Normal System Restart
I had a similar problem. mysql would crash while drupal8 was going through install process. restarting mysql would eliminate the "mysql has gone away ..." error but drupal install would never finish. the following combination of mysql and apache configs provided a stable digitalocean droplet for me:
https://www.digitalocean.com/community/questions/mysql-server-keeps-stopping-unexpectedly?answer=26016