OpenSUSE :: Java-mysql Connection Error Cannot Be Resolved?

Feb 24, 2011

due to some issues i uninstalled openjdk shipped default on my opensuse 11.3 and installed jdk 1_6_21 from a .bin file. Its installed to usr/java/jdk.The mysql connector is also present in the same but running a java program that connects to mysql gives me the errorjava.sql.SQLException: Unknown initial character set index '192' received from server. Initial client character set can be forced via the 'characterEncoding' property.the code i tried is

import java.sql.*;
import java.io.*;
class mysql_conn_tester

[code]...

View 3 Replies


ADVERTISEMENT

OpenSUSE Network :: ERROR 2002 (HY000): Can't Connect To Local MySQL Server Through Socket '/var/mysql/mysql.sock

Jun 7, 2011

I think this goes here, but I'm not sure. I decided that XAMPP had been troublesome enough. MySQL never worked. So I decided to instal the LAMP stack offered by YaST. I went about installing it thinking that it would all work. But it seems that I was wrong. So I try to start mysql, and here's what I get:

Code:
the-matrix:~ # mysql start
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/mysql/mysql.sock' (2) or
Code:
the-matrix:~ # rcmysql start
Starting service MySQL warning: /var/mysql/mysql.sock didn't appear within 30 seconds
chmod: cannot access `/var/run/mysql/mysqld.pid': No such file or directory

[Code]...

View 6 Replies View Related

Ubuntu :: OpenJDK Java 6 Runtime - Package Dependencies Cannot Be Resolved

Aug 26, 2010

I'm trying to install Open Rocket : [URL]. I don't think I have java installed. I went to software center and tried to install "OpenJDK Java 6 runtime" and it says package dependencies cannot be resolved. I tried doing sudo apt-get install through terminal and it was dependent on a long list of things:

openjdk-6-jre
openjdk-6-jre-headless
tzdata-java
tzdata

I tried to sudo apt-get each one and it led me down the list like that to a dead end.

View 6 Replies View Related

Ubuntu :: Java Installation Error Connecting To MySQL Database

Jul 2, 2009

I have recently installed Java in my Ubuntu 9.04 environment so that I can teach myself Java. Basic Java programs work, but I am having trouble connecting to a MySQL database. I installed these packages using Synaptic Package Manager.

1.gsfonts-x11
2.java-common
3.odbcinst1debian1
4.sun-java6-bin
5.sun-java6-jdk
6.sun-java6-jre
7.unixodbc

After these packages were installed, I was not sure if I needed to do this, but I downloaded the MySQL connector from MySQL :: MySQL Connectors and installed in a directory called /home/mark/mysql/.

I then did "sudo gedit /etc/environment" and added a CLASSPATH to where I installed the connector:

Code:

I found an example Java program from Using JDBC with MySQL, Getting Started and stripped it down even further to test the MySQL connection.

This is the program I am running:

Code:

Could not find the main class: Jdbctest. Program will exit. I am new to Linux, Ubuntu, Java and MySQL, so I have probably left out something that is very obvious.

View 1 Replies View Related

Fedora Servers :: Mysql 5.1.41-2 SSL Connection Error ERROR 2026 - HY000

Jan 3, 2010

I am facing some strange problem of mysql replication with ssl, my replications which working fine from more than 6 months currently stopped working after i upgrade mysql in to newver version mysql-5.1.41-2, i create new ssl self singed certs but still no sucess, when client try to connect the master using ssl its gives error SSL connection error ERROR 2026 (HY000), with out ssl its working f9.

Platform --> Fedora-11 + mysql-5.1.41-2 (both master/client)

I can seeking the problem on net, and i found the below bugzilla url related to that.

[url]

I read it but not get , either new version support x509 ssl certs or not or either new version support ssl replication or not, here below my server configuration for ssl serts

And for client

Both server and clients certs are signed with same ca but still its currently not working after the mysql upgrade first 5.1.41 and then 5.1.41-2

Either as above bugzilla url, currently mysql support ssl replication or not, or either some need to do special for working with ssl. or i wait for newver version of mysql to fix if its bug or not.

View 2 Replies View Related

OpenSUSE :: MySQL Error 2002 (HY000): Can't Connect To Local MySQL?

Dec 6, 2010

I've downloaded and installed MySQL-client-5.1.53-1.glibc23.x86_64.rpm. I'm rather new to linux so it might be I haven't started the server. Unfortunately I have no idea which file is responsible for that. It is also possible that my head isn't functioning correctly ( if at all ).

Error I receive is:

ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)

View 6 Replies View Related

Networking :: Cable Modem - Losing Connection - Resolved By DHCP Request

Dec 12, 2010

Running 2.6.29-gentoo-r1 on a Sun Ultrasparc 10 with a Sun Happy Meal on eth0 connected directly to my cable modem. Intermittently, with a frequency between a few hours and a few days, I lose internet connectivity. Running ifconfig eth0 indicates all is well and I have a valid IP address but I cannot even ping the cable modem's management address; pings to 127.0.0.1 and eth0's IP address do get a reply but no other address I've tried does. I can 'fix' the problem by issuing

Code:

If I check the CM logs, it appears that it has rebooted itself prior to the loss of connectivity. The strange thing is that the incoming traffic doesn't seem to be affected by this, my PSAD log is full of incoming scans even during the periods when I can't connect to the net. I suspect this is an ISP problem (they own the CM);

View 2 Replies View Related

OpenSUSE :: FireFox 5.0 - With IcedTea - Plugin Error: "Failed To Run /usr/lib64/jvm/java-1.6.0-openjdk/jre/bin/java"

Jul 10, 2011

I use openSUSE 11.4 64 bits, KDE and FireFox 5.0. I regularly update. When trying to reach my bank, I get the following error: Code: icedteanp plugin error: Failed to run /usr/lib64/jvm/java-1.6.0-openjdk/jre/bin/java. For more detail rerun "firefox -g" in a terminal window. Is there anything I can do to remediate ? Does IcedTea everything that Java does?

View 4 Replies View Related

Server :: Setup A Database Using Mysql - Always Get A Connection Refused Error

Mar 2, 2010

I'm try to setup a database server using mysql, the server starts fine, and I can access it using the built in mysql client via console (adding databases and tables works fine), but the problem is... I always get a connection refused error whenever I access the database outside the built in mysql client (example, if I write a code that connects to mysql). So, I tried execute an nmap command and the only ports open are these ports:

[Code]....

there's no 3306 for mysql... I'm thinking that the firewall is just blocking the port that mysql is using, but my question is, how could the built in client connect to the server if there's no open port for mysql server? Don't clients usually access a servers through ports?

View 4 Replies View Related

General :: How To Resolved Open Office Error

Nov 16, 2010

I cant open my open office file. ".xls"Iam saving my files when someone accidentally cut the power and my computer shutdown. When i open my pc and open the file it display"General Input/ Output Error"

View 5 Replies View Related

OpenSUSE :: Java App Error: "java.lang.NullPointerException"

Feb 23, 2011

i try to open a java app, the launch proceeds as far as the final stages, but then stops to do the final sequences showing the error msg listed above.

View 3 Replies View Related

Ubuntu :: Reinstall Openoffice Error - " Package Dependencies Cannot Be Resolved

Jan 12, 2011

So I tried out Libreoffice and want to revert back to Openoffice for the time being. I uninstalled Libreoffice from ubuntu software center and now I can't reinstall openoffice from USC. i get this error:

" Package dependencies cannot be resolved: This error could be caused by required additional software packages which are missing or not installable. Furthermore there could be a conflict between software packages which are not allowed to be installed at the same time. " does anyone have a way of fixing this? edit: i've tried sudo apt-get install openoffice.org in terminal but it didn't work as well (i'm total noob)

View 4 Replies View Related

OpenSUSE :: Updated 10.3 To 11.4, Mysql Error Failed To Alter Database Error: 1102?

May 17, 2011

I upgraded a system from 10.3 to 11.4 and I get the following error when trying to run mysql:

Will update MySQL now, if you encounter any problems, please read following file:
/usr/share/doc/packages/mysql-community-server/README.SuSE
Log files inconsistency, please merge following files manually:
/var/lib/mysql/mysqld.log
/var/log/mysqld.log

How can I correct this? Mysql will not start so I can not run any of the utilities.

View 2 Replies View Related

OpenSUSE Network :: Error - Connection Timeout - All Wired Connection Over A Switch?

Feb 21, 2011

im on node1 when i type the command ssh node2@ip the terminal hangs up a bit then an error message stating that connection timeout but here is a thing: i cant ping to node2
but i can terminate the ping manually using ctrl+c when i terminate the ping usual message appears stating 10 packets transmitted, 100% loss

ps: when i go to node3 and ssh to node2 it works fine and also i can ping from node3 to node2 very fine. and the firewalls are down at all nodes -all wired connection over a switch

View 6 Replies View Related

OpenSUSE Network :: PHP Con't Resolved While OpenSUSE11.2 LAMP Updated

Apr 22, 2010

PHP can't resolved while openSUSE11.2 LAMP updated.2010-4-21

View 1 Replies View Related

OpenSUSE Network :: Host Names Cannot Be Resolved Except For Ping

May 5, 2010

I'm running openSUSE 11.2 (Linux piura 2.6.31.12-0.2-desktop #1 SMP PREEMPT 2010-03-16 21:25:39 +0100 x86_64 x86_64 x86_64 GNU/Linux) and have a network problem. At work, ethernet works fine. When I plug it into my DSL router at home (which works with other computers), I encounter the following behavior: ping can resolve host names, however, traceroute and Firefox and Thunderbird cannot.
It happens for both wired and wireless connections.

View 9 Replies View Related

General :: Mysql "Error Establishing A Database Connection"?

Aug 15, 2010

I am now using SLES11. My web server now error mysql. However, when I restart mysql using "rcmysql restart" the message display:

Restarting service MySQL
Shutting down service MySQL done
Starting service MySQL done

but when I start to access via browser using my name virtual host (url) the message display "Error establishing a database connection"

when I go to mysql using command "mysql" the message display"
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111)

After that I try to edit file mysql.sock but on the bottom of file display message (permission denied)

View 6 Replies View Related

OpenSUSE :: Java Error With Internet Application

Dec 20, 2010

There's a site where you can play classic NES games online without any installation, just need Java: nintendo8.com. But when selecting a game from the site's game list and it tries to load, I get this error:
icedteanp plugin error: Failed to run /etc/alternatives/../../bin/java. For more detail rerun "firefox -g" in a terminal window.

I then ran "firefox -g" from terminal, tried again and got this log:
ERROR: Invalid browser function table. Some functionality may be restricted.
/usr/src/packages/BUILD/icedtea6-1.9.2/plugin/icedteanp/IcedTeaNPPlugin.cc:1506: thread 0x80935c0: Error: Failed to spawn applet viewer: Failed to execute child thread "/etc/alternatives/../../bin/java" (No such file or directory)
I have Java up to date from its repository.

View 8 Replies View Related

OpenSUSE :: Gcjwebplugin Error: Failed To Run /etc/alternatives/../../bin/java

May 30, 2010

I've opensuse 11.2 and I have all java packages installed, but Java Plugin for firefox doesn't work.I'm getting this error:

Code:

[B]gcjwebplugin error: Failed to run /etc/alternatives/../../bin/java. For more detail rerun "firefox -g" in a terminal window.

Code:

upiter@linux-yalp:~> firefox -g
upiter@linux-yalp:~> gcjwebplugin error: Failed to run /etc/alternatives/../../bin/java. For more detail rerun "firefox -g" in a terminal window.

View 9 Replies View Related

OpenSUSE :: Error - Could Not Create The Java Virtual Machine

Dec 17, 2010

I am trying to run a .jar file, and I have both JDK and JRE installed. This is the error I keep getting.

Code:

jonathan@linux-d0g9:~> cd Downloads
jonathan@linux-d0g9:~/Downloads> java -jar RSBot2.jar
jonathan@linux-d0g9:~/Downloads>

[code].....

View 5 Replies View Related

OpenSUSE Multimedia :: Error: Failed To Run /etc/alternatives/../../bin/java

May 17, 2010

I keep getting this error message, I did a search and didn't find a solution to my Java browser problems gcjwebplugin error: Failed to run /etc/alternatives/../../bin/java. For more detail rerun "firefox -g" in a terminal window.

System: openSUSE 11.2 (i586)
KDE: 4.3.5 (KDE 4.3.5) "release 0"
Firefox version 3.5.9

View 9 Replies View Related

Slackware :: Installing Java Error - When Trying To Run A Java App With The Firefox Plugin - Browser Crashe

May 29, 2011

Code: ~ $ /usr/java/jre1.6.0_25/bin/java -showversion Error occurred during initialization of VMjava/lang/NoClassDefFoundError: java/lang/Object

That's the error I get. When trying to run a java app with the firefox plugin, the browser simply crashes if it's the 64bit java or tells me it's not installed if it's the 32bit version.

I'm at a loss as to what to do. I think it has something to do with leftover gunk from a previous version I misinstalled(Is that even a word?) Anyway, the only thing that google could come up with was a solution for windows which laid blame on Bill Gates for having a bunch of pf (java prefetch) files stuffed into c:windows for no apparent reason. The solution was to delete them, but I can't seem to find the java prefetch folder in linux. The method I used is downloading the rpm from java.com the rpm2tgz then installpkg then cp libnpjp2.so to firefox plugins folder.

View 8 Replies View Related

OpenSUSE :: Not Able To Start MySQL - Unspecified Error

Jan 5, 2011

Running
openSUSE 11.3 (x86_64)
Linux 2.6.34.7-0.7-desktop x86_64
mysql-community-server_64 5.1.46-2.18-x86_64 from vendor openSUSE
php5-mysql 5.3.3-0.7.1-x86_64 from vendor openSUSE
Apache2 2.2.15-3.7-x86_64
apache2-mod_php5 5.3.3-0.7.1-x86_64 from vendor openSUSE

Trying to start mysql in YaST > system services (runlevel) >
Expert mode
gives following message
/etc/init.d/mysql start returned 1 (unspecified error):

View 9 Replies View Related

OpenSUSE :: Fatal Error Detected By Java Runtime Environment

Apr 8, 2011

Some files are generating in my Documents folder named hs_err_pid4214.log ........ different logs files are generated. I put the contents of one of them:
Code:
A fatal error has been detected by the Java Runtime Environment:
SIGSEGV (0xb) at pc=0x00007f1714b33e30, pid=4214, tid=139736470193920
JRE version: 6.0_24-b07
Java VM: Java HotSpot(TM) 64-Bit Server VM (19.1-b02 mixed mode linux-amd64 compressed oops)
Problematic frame:
C [libsvllx.so+0x82e30] _ZN26SvNumberFormatsSupplierObj18SetNumberFormatterEP17SvNumberFormatter+0x0
# If you would like to submit a bug report, please visit: [URL]. The crash happened outside the Java Virtual Machine in native code. See problematic frame for where to report the bug.

View 2 Replies View Related

Ubuntu Servers :: Mysql Error Stopping MySQL Database Server Mysqld?

Jun 17, 2010

I have installed Mysql in Ubuntu 9, for the use of roundcube database.After installing iam getting the error like this

* Stopping MySQL database server mysqld [ OK ]
* Starting MySQL database server mysqld [ OK ]
* Checking for corrupt, not cleanly closed and upgrade needing tables.

So because of this in the roundcube configuration its giving the error message that MYSQL is not installed. So Kindly give me a idea how to solve this.

View 1 Replies View Related

Ubuntu Servers :: Mysql ERROR 1045 \ Trying To Allow Remote Access To Mysql?

Jan 14, 2011

i was trying to allow remote access to mysql by following mysql was running perfectly until i got here :

Code:
/sbin/iptables -A INPUT -i eth0 -s 192.168.1.0/24 -p tcp --destination-port 3306 -j ACCEPT
i changed my.cnf bind-address line to : "bind-address = 127.0.0.1" and nothing

[code]....

View 4 Replies View Related

Fedora :: MYSQL Error 2002 (HY000): Can't Connect To Local MySQL Server Through Socket?

Feb 22, 2011

I've been attempting to set up a LAMP for local web development, which meant installing mysql-server. But now have a problem when trying to run mysql, I get:-

ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)

When trying to downgrade mysql-server I saw that there are dependency problems between the various modules (but can't recall which). But whichever route I truied the results are always the same.

Thought about trying XAMPP but I note that even has it's problems, is there any way I can get a lamp set up on FC14, or must I give it up as a bad job.

Howver, just been trying to again to fix the problems with downgrading mysql and get:-

Error: Package: mysql-server-5.1.55-1.fc14.i686 (@updates)
Requires: mysql(x86-32) = 5.1.55-1.fc14
Removing: mysql-5.1.55-1.fc14.i686 (@updates)
mysql(x86-32) = 5.1.55-1.fc14

View 7 Replies View Related

Fedora :: Mysql Error When Type Mysql Into The Command Line?

Jan 16, 2011

I have mysql downloaded and when I type mysql into the command line I get this:

ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111)

View 6 Replies View Related

Ubuntu :: Mysql 5.5.6-rc Error During 'make' Part Of Compilation Of Mysql V5.5.6rc?

Sep 26, 2010

getting foll error during 'make' part of compilation of mysql v5.5.6rc

Code:
libtool: link: unsupported hardcode properties
libtool: link: See the libtool documentation for more information.
libtool: link: Fatal configuration error.
code....

View 9 Replies View Related

Software :: ERROR: Unable To Find Mysql Headers (mysql.h)

Apr 3, 2010

I'm trying to install snort-2.8.5.3 on centos5-i386 an I get this error from ./configure --with-mysql --enable-dynamicplugin command:

ERROR: unable to find mysql headers (mysql.h)
checked in the following places
/usr
/usr/include

[Code].....

I've read here it has to do with libmysqlclient12-dev. How can I install libmysqlclient12-dev on centOS?

Is it possible to install snort from repositories using yum?

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved