Ubuntu :: Terminal Not Able To Connect To Database ?
May 20, 2010
Just upgraded to 10.04, trying to watch a dvd and it doesnt work. so i go to the ubuntu website, download the required pack (ubuntu restriced extras)
And then type in the code:
Code:
when i do this, terminal keeps trying to connect to a database, but it is not able to, see below....
Code:
Im at university and sitting behind a proxy. however, i had no problem doing this with ubuntu 9.10 and i can access internet, update, software centre ect...
I've setup a CentOS apache web server, and loaded a site onto it. The site previously was functioning under windows xp (before I "stepped in") and wamp. What I did was copy the site in /var/www, reconfigure the httpd.conf (DocumentRoot /var/www/site, etc). Although when I try to open the webpage I get this error: Database Error: Unable to connect to the database:The MySQL adapter "mysql" is not available.
I have a strange thing happening when I use the sudo command. I'm getting "Could not connect to database" every time I use the sudo command.I don't have the slightest clueThe sudo command works but it gives this phrase.
I'm trying to add my own personal database of quotes for the fortune app to call when i open a terminal. I was able to successfully create the data base from a text file along the lines of this thread [URL] And it works when i type :$ fortune mydatabase The problem is, when i open a terminal i dont believe fortune knows to look for the new database, and im yet to see one of my quotes appear. If anyone can point me in the right direction as to where the command is issued to run fortune when i open the terminal
I'm trying to connect to a remote database but can't connect directly (I think due to security reasons). Here's the setup:
Computer A - my computer Computer B - server, I can SSH to this from computer A Computer C - server that runs database, I can SSH to this from B but can't from A
Any ideas how I can can connect to C directly from A? I think I need to setup a tunnel or something like that but I can't figure it out.
I am trying to replace my Widows work station with Linux, I am now down to two applications. One is close to being resolved (it's a hardware connector between two pieces of equipment) and the other is replacing Crystal Reports with JasperSoft iReports.
I have been progressively hammering away at this for several months now. And still no progress. All I need to do is connect the stupid report software to my SQLite database.
Now, no I cannot move to another database. This is the solution I have and that's it. I know someone will suggest MySQL or some other db... not in the cards not in this time frame. I have over a year invested in the application/database and have already deployed it for use. And I just don't have the time needed to re-write my application to connect to another database then move all my tables and data over to another database then go through the entire testing cycle again. Okay I think that horse is dead and the position clear.
System Specs: OS: OpenSuSE 11.0 x86_64 Desktop: KDE 3.5.9 "release 49.1" CPU: AMD Athlon 7750 Dual-Core Drives: 3 SATA
[Code].....
And it shows up in iReport after I point to it... but then I get this error from iReport when I try to connect to my DB.
"Unable to add connection. Cannot establish a connection to using org.sqlite.JDBC (Unable to find a suitable driver)."
I have been all over the web and haven't found any clear instructions or directions on where these drivers are stored, how to properly add a driver or how to connect iReport to SQLite... and according the iReport web site I can...
I'm using Kubuntu 8.04 and now I've installed OpenOffice 3, both in Spanish.I have oracle client installed and can connect to Oracle databases with clients like tora.What I try:
- Open Database and select connect to an existing database. - Select Oracle JDBC. - Next - DatabaseName: I put the sid of the database of oracle. (orcl) Server URL: The name of the server containing the database. It's resolved by a ping. (database.organization.es) Port: 1521 - Oracle JDBC Driver: oracle.jdbc.driver.OracleDriver But I press the test button, I receive an error: JDBC Driver can't be loaded (really, the message is in spanish).
I have two VMs, one as a web server and one as a database server. Both are RHEL5.2 Web server httpd-2.2.3-22.el5_3.1 php-5.1.6-23.2.el5_3 Database server mysql-5.0.22-2.1
On the web server, I can connect to the database just fine with a user I created with all privileges on *.* Both phpMyAdmin and Drupal, though, tell me they cannot connect to the database. phpMyAdmin says :#2003 - The server is not responding..Drupal says:Failed to connect to your MySQL database server. MySQL reports the following message: Can't connect to MySQL server on '172.16.1.1' (13).However, I can also connect to the database with a simple little PHP test script.What do I need to do to get these apps to see the database that is up, running, available, reachable, in existence, etc. etc???
upon boot I see Starting Clustered TB : ctdb failed! Starting system message bus: dbus Could not connect to database Starting MTA: exim4 startpar: service(s) returned failure: ctdb ... failed!
how to connect the database to proxy server.example:: this is the acl in squid.conf to block the website.the keyword that want to block store in file .txt
a bit info, the data that stored in database is a keyword to block the website if a keyword in blacklist match with the url that want access by user. if match so then the user cannot access the website.
How to connect my mysql database server from outside network. because its locally works and i cant able to connect from outside and different networks. when i try i am getting like this error.
ERROR 2003 (HY000): Can't connect to MySQL server on '123.136.126.179' (113)
I've created a application,i tried to deploy in JBoss application server..that application working fine.so i tried to run my allication in apache web server,i have done some configuration in apache & installed apache-tomcat connector also..its working fine.but i will try access next page its showing error.
My boss has suggested installing the unixODBC driver in one of our Red Hat 5 servers in order to connect to a Microsoft SQL/SERVER database (Windows server).
I have a little C++ program that I am attempting to connect to a test database.
#include <iostream> using namespace std; #include <sqlite3.h> int main () { int rc; [Code]....
When I compile this code, I get the error: undefined reference to `sqlite3_open' I added sqlite3 package using the command 'apt-get install sqlite3'. Unfortunately the sqlite3.h header file was not installed in /usr/include, so I downloaded the SQLite3 dist., untarred it and copied the sqlite3.h file to /usr/include. I saw on a previous message that I would need to link the library. The only library file in /usr/lib is libsqlite3.so.0, so the command g++ -lsqlite3 still gives me an error.
I'm trying to configure unixODBC on Linux rehat EL 5 32 bit to connect to an Oracle 10g database server. But when I retest the connection after the configuration then The error occurs:
# isql -v oralab4_dns vonphot vonphoto isql: symbol lookup error: /usr/lib/libreadline.so.3: undefined symbol: PC
I have searched on Google.com for 2 days but I can't resolve the problem.
Trying to get OpenbavoPOS to connect to my remote Postgresql database, but so far i've only been able to connect to the local postgres installation. I _am_ able to access the remote databases with psql. I've read literally dozens of pages, and am pulling my hair out. I'm trying jdbc:derby.//192.168.15.10:5432/bravo I get back java.sql.SQLException no suitable driver found for jdbc:derby.//192.168.15.10:5432/bravo If I use jdbc:derby./root/bravo - all is OK, using a local database created in /root I have jdk installed on the client; does it need to be on the server also?
Server = CentOS 5.4 PostgreSQL version 8.1.21 Client = CentOS 4.8 PostgreSQL version 8.1.4
When i try to open a connection to start querying i get this message:
Cannot Connect to Database Server Cannot start SSH tunnel manager
1 Check that mysql is running on server 127.0.0.1
2 Check that mysql is running on port 3306 (note: 3306 is the default, but this can be changed)
3 Check the root has rights to connect to 127.0.0.1 from your address (mysql rights define what clients can connect to the server and from which machines)
4 Make sure you are both providing a password if needed and using the correct password for 127.0.0.1 connecting from the host address you're connecting from
I am trying to connect to my mysql database using php but I am getting the error "Fatal error: Call to undefined function mysql_connect()".
I checked phpinfo() and there is no reference to MySQL. I believe this means that my install of PHP doesn't support MySQL. Do I need to uninstall and reinstall with a version of PHP with MySQL support? If so how should I do this and how do I get a version of PHP that supports MySQL?
I'm having problems connecting to the mysql database on my system. I first noticed this when I was trying to set up the program anymeal. I subsequently tried using MySQL Administrator (mysql-admin), but had no luck. It gives my the following feedback:
Code:
Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
Click the 'Ping' button to see if there is a networking problem. I press the ping button, and it seems to connect.
am using zabbix open source solution for systems monitoring. I am facing a problem and discussed it on zabbix forum. my post was as "My zabbix server is behaving abnormally, approximately daily from 9 to 12, the server stop accumulating logs. I observed that the server report is RUNNING but it did not accumulate log values and also the machine have no extra load. Its shown in the graph image attached.t the following reply,"database performance?are you monitoring database IO and available database threads? "So any one have any idea that how can I do this as I am using MySQL as backend database on RHEL 3.
how can i connect to the internet through an ethernet cable in the terminal... i.m having trouble booting and i need to connect to the internet and download some packages
i hate nm-applet, it keep fails, and doesnt recognize network wellit fails and turns down the eth0i have to manually do this: sudo ifconfig eth0 upand also manually connect: sudo pon dsl-providerbut still i cant connect to vpn (after failing of nm, since manually connecting to internet doesnt enable me to connect via nm)i dont know how to use command "pptp" and it's manual is totally confusing (man pptp)how does nm do it? what command does it run? i want to do it myselfps: i know there is many fixes for nm-applet issues but if i solve it another problem pops out, so...
I currently have a startup application that automatically runs the Terminal Server Client at startup. what command I need to enter into the startup app that would make it automatically connect?