Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    MYSQL


SuperbHosting.net have generously sponsored dedicated servers to ensure a reliable and scalable dedicated hosting solution for BigResource.com.





How To Connect Remotely To Linux/MySQL Using MySQL Query Browser


http://dev.mysql.com/doc/query-brows...onnection.html

I'm trying to connect from my Windows based PC to a dedicated server which is running on Linux system.

I type server host and port 3306 user name admin + password and default schema and I get access denied message.

I use putty to connect to the server using IP and port 22 and it connects to the server.

What settings do I need to use to connect to MySQL using query browser?




View Complete Forum Thread with Replies

Related Forum Messages:
Cannot Connect To MySQL DB Remotely
Through Java, I am attempting to connect to a MySQL 4.12 server on a remote
computer. I can connect fine via php. I cann connect fine via Java, through
a servlet, when the servlet is on the same machine (localhost) as the MySQL
DB.

However, when they are on different machines with different IPs, calling
across the Internet (and there are no firewall issues -- I can connect fine
to the remote MySQL DB via php from the same machine, not are there
connection issues, it is the same db name, password and username, just a
different IP) the MySQL driver is choking on me with the following stack
trace: (btw max_connections in the MySQL DB is set to 100)

java.sql.SQLException: Server connection failure during transaction.
Attempted reconnect 3 times. Giving up. at
com.mysql.jdbc.Connection.createNewIO(Connection.j ava:1704)
at com.mysql.jdbc.Connection.(Connection.java:491)
at
com.mysql.jdbc.NonRegisteringDriver.connect(NonReg isteringDriver.java:346)
at java.sql.DriverManager.getConnection(DriverManager .java:525)
at java.sql.DriverManager.getConnection(DriverManager .java:171)

Does anyone have any idea why this would be happening? Ive been looking at
this for days and cannot gain any insight into my problem here.

View Replies !
Connect To MySQL Remotely
I host files on two different servers for different people. Can a script on one server connect to a MySQL database on the other (they are different hosting companies). Is this possible, and is it dependant on MySQL configuration?

View Replies !
Unable To Connect To Mysql Remotely
I just setup my RedHat 9.0 server and have it preconfigured for MySQL, Apache and PHP.
I am able to connect to mySQL using a GUI client from my my LAN (192.168.1.xx), but unable to connect from a remote site.
I have my linksys router configured to forward any requests for port 3306 to my redhat linux IP. I thought it would be also important to mention that I am able to connect to my Apache webpage remotely.
"Cant connect to MySQL server on 'starfire.homelinux.net'" Error 10060 when trying to test from my ODBC drivers.
I have also tried granting a connection for a user@%, but I still am having the same problem.

View Replies !
Connect To MySQL Database Remotely
Im trying to connect to my MySQL database from a remote server. Im using the below asp srcipt but im having no luck. Im getting this error:

[MySQL][ODBC 3.51 Driver]Can't connect to MySQL server on '83.146.35.143' (10060)

Can anyone tell me what i need to download to get the connection working or what settings i need to change? Im happy to change the driver im using. Im using Unbunu Server with MySQL 4.1.1 . Code:

View Replies !
Configure MySQL To Connect Remotely
I've MySQL installed in my computer "localhost" and I wanna connect it remotely via Internet from java application.

Java side is OK , how to configure MySQL to accept remotely connections?

View Replies !
Can't Remotely Connect To MySQL Database
I am trying to connect to a MySQL database remotely.

I have two ubuntu machines 192.168.0.3 (ubuntu 8.10) and 192.168.0.6 (ubuntu 8.04). I have edited each of their /etc/mysql/my.cnf and changed them to include bind-address = 192.168.0.3 and bind-address = 192.168.0.6 respectively. Neither has the line skip-networking.

I have logged into mysql locally on each machine and entered the following command:
grant all on mythconverg.* to 'mythtv'@'%' identified by 'mythtv';

When I run
mysql -u mythtv -h 192.168.0.3 -p
on the 192.168.0.6 machine I get the following error:
glen@glen-desktop:~$ mysql -u mythtv -h 192.168.0.3 -p
Enter password:
ERROR 2003 (HY000): Can't connect to MySQL server on '192.168.0.3' (113)

When I run
mysql -u mythtv -h 192.168.0.6 -p
on the 192.168.0.6 machine I get the following error:
glen@glen-desktop:~$ mysql -u mythtv -h 192.168.0.6 -p
Enter password:
ERROR 2003 (HY000): Can't connect to MySQL server on '192.168.0.6' (111)

View Replies !
Cannot Connect Remotely To Mysql Server.
I am haing trouble connecting to my mysql server, from a computer on the same network.

I successfully connected yesterday and it was all working fine, but this morning this is no longer the case and it just gives me Access Denied message, furthermore i cant even log in remotley as root, which i was able to the day before?? I have made no changes to the configuration of the mysql server, i have bascially came in today and it just doesnt allow me to connect remotley anymore?

I have tried re-booting, granting global privileges, creating a user, specific to that computer, all to no avail, I would be extremly grateful if someone could just let me know what im doing wrong as the case may be.

mysql server version : 5.0.13-rc-nt
os : xp professional

Have also got Mysql administartor 1.1.3 installed but sill tend to solely use the cmd line.

View Replies !
Can't Connect To Mysql Server Via Browser
apache 2.0.54 webserver on fedora linux 4 with php 5.0.4 and mysql 5.0.19

I'm getting the error "Can't connect to MySQL server error" when I am trying to run a PHP script via the browser. If I run the same script via the command line, I have no issues. I am able to run PHP scripts that do not access the db via the browser. I have verified via phpinfo() that the mysql module is installed.

I have started mysql as root with the --no-grant-tables option.

View Replies !
Query Browser To Connect A Remote Database
I wander how can i connect to database by using mysql query browser using my cpanel account
remote mysqlhost,username, password

View Replies !
Unable To Connect To Mysql Server(Linux)
i have problem om my sevrer ( linux )
WHM 11.11.0 cPanel 11.16.0-S18450
REDHAT Enterprise 4 i686 on standard - WHM X v3.1.0

after update apache then all websites on server can not connect mysql
from WHM > Tweak Settings > Mysql > 5.0
and used old style (4.0) passwords with MySQL® 4.1+

also command /scripts/mysqlup
but no way still same error can not connect to Mysql

View Replies !
Slow Connect Linux To Windows MySql
I have a Linux box with the latest MySql and another box (Windows 2003 Server) with the latest Mysql.

From the unix prompt I do this:
mysql -uroot -pmypass -h windowsserver mydbname

this take about 4 seconds to connect

I do the exact same thing on a windows workstation and its connected instantly.

View Replies !
Connect MySQL 3.51 Database Present On Windows From LinuX Machine
MySql database is present on windows O.S. Is it possible to connect this database from LINUX platform which is on same network ?

If it is yes, then how to configure from LINUX machine ?

View Replies !
Using The MySQL Query Browser
I am in the RESULTSET 1 tab and I've tried to run multiple querys in the query window such as:

SELECT PKEY, ENTITYCODE, REQNNUM FROM INVPO.INVPO_POI;
select * from INVPO.INVPO_POI_APV

and I've also tried this in the Script 1 tab but I cannot see any results.

I just want to be able, like in Query Browser in SQL Server, to see sets of results.

View Replies !
Different Results In Mysql & Mysql Query Browser?
I've come across an extremely strange problem. The exact same query in
both mysql command line client, and mysql query browser gives entirely
different results. I was hoping someone out there could shed some
light.

Ok, the query (I've stripped it bare, the real query is a bit more
complex)...

Each person in the people table has an associated 'place', which is an
integer that maps onto a suburb in the suburbs table. The 'place' CAN
be NULL.

so, for all intensive purposes, the schema is roughly:

View Replies !
MySQL-Query-Browser Installation
I am currently migrating a db from SQL Server & MySQL and ? (front end yet
to be decided upon) As I familiarise myself with MySQL populating tables
etc can be quite clumbersome. After reading the MySQL site it appears the
"Query Browser" is the correct tool which I've downloaded, extracted and
followed the instruction for installing it... without success, it doesn't
work.

To clarify what I've done I've:
Downloaded: mysql-query-browser-1.1.6-linux.tar.gz
Extracted it using: tar -vzxf mysql-query-browser-1.1.6-linux.tar.gz
In the doc directory there is a html file that explains the installation
procedure under Linux...

"To install MySQL Query Browser, run this command:
shell> tar --directory=/opt -xzvf mysql-query-browser-version-linux.tar.gz

This installs the application binary in /opt/mysql-query-browser/bin. Change
into that directory and run mysql-query-browser to start the application.
You can replace /opt with your desired installation path."

I have done all of this and the files were extracted
to /opt/mysql-query-browser as expected.

The question is, how do I run the application?

View Replies !
Mysql Query Browser Import From Csv
The only way that I was able to backup my tables was from the mysql query browser export to csv option. I know that I am stuck with having to recreate the table schema's but right now I am having problems importing the tables. I am using phpMyAdmin, since there is no import feature in query browser. The problem that I am having is because double quotes (") are not escaped (") in the text fields, and phpMyAdmin is unable to insert all of the data. Is there a way to fix this issue, I have been able to open all of the files with microsoft excel, which seems to sort the columns out fine, even though they aren't escaped.

View Replies !
PhpAdmin & MySQL Query Browser
I am new comer to PHP. I come across phpAdmin & MySQL Query Browser, which to my opinion, perform similar task.

Can you guys tell me, phpAdmin & MySQL Query Browser, which one is better?

View Replies !
MySQL Query Browser - ERROR 1044
I'm new to MySQL and am having a frustrating time figuring out some of the tools. I'm getting ERROR 1044 when I try to execute the following .....

View Replies !
MySQL Query Browser. Result Set Read Only
I'm developing a client/server application with mySQL. The mysql server (plus database) is on a Windows XP LAN pc in another office.

I installed mySQL several months ago and have been using Administrator and Querybrowser locally on a regular basis to administer and fiddle with the database on the other pc. I don't believe I've changed any settings.

I noticed a couple of weeks ago that if I tried to edit table data from Administrator, Query browser wouldnt display but would remain in task manager process list forever. If I did the same directly from query browser I would receive a result set ready to edit.....

View Replies !
Error After Installing MySQL Query Browser V. 1.1.20
After installing MySQLQuery Browser on a new computer (Windows XP Pro SP2), it works but there is a constant and rapidly flashing error on the bottom of the application. When you exit the application you get the following error:

Application Error
Exception EAccessViolation in module MySQLQueryBrowser.exe at 0003F211. Access violation at address 00040211. Read of address 00040211.

This application works on 2 other PCs but is acting crazy on the new PC. Any ideas? I know nothing about SQL, I'm just the PC support.

View Replies !
Unable To Do Joins With MySQL Query Browser
I downloaded the Query Browser for Windows. I try to join two tables as described in the manual, drag over the JOIN tables tab but nothing happens. The query remains as is.

View Replies !
CREATE TABLE And MySQL Query Browser
I am using the ODBC 3.51 Driver to Do a "create database" and then create some tables on that database.

I see in the ..mysqldata directory my new database I have created and the associated .frm files, however MySQL Query Browser and Administrator do not see these schema's.

I am guessing it may be due to user privileges. MySQL is running locally and the connection string does not contain a Username and password.

Also, when I do show databases from within the Query Browser, it does not show my Database, only the one that I had created manually.

There must be some more setup that I am not aware of to register the Database or something.

View Replies !
Insert A Record Using MySQL Query Browser
I know I can probably type in the actual query, but I was wondering if there was a means of inserting a record without typing "insert into table_name (blah, blah2) values (blah, blah)". I'm looking for a method as easy as typing into an Excel spreadsheet or Access DB. (I know I'm gonna get bashed for mentioning Microsoft products.)

View Replies !
MySQL GUI Tools Query Browser/Admin Login
I've just installed the GUI tools so I can get a little help with queries and table design, and I am not able to log into the administrator or the query browser. The login screens show up, I enter all the correct data, then the form grays out except for the cancel button and does nothing. Doesn't even eat up any system resources, so it doesn't even look like its trying.

I've turned off all firewall settings in case that might have cause the issue and it still doesn't work.

View Replies !
Executing Shell Command From Mysql Query Browser
This works fine when executing the shell command inside the MYSQL in command line

mysql> ! ls /home/www/htdocs/test
1000.xml class email test.xml test1.xml test2.xml

But when i execute the same with dynamic SQL and executed in TOAD for MYSQL, it throws error

SET @vSql:= '! ls /home/www/htdocs/test';
PREPARE vStmt FROM @vSql;
EXECUTE vStmt;

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '! ls /home/www/htdocs/middleware/test' at line 1

Can some one clarify me Whether is that possible to execute the Shell commands from the query browser or it can be only used in the command line?

View Replies !
Changing Order Of Columns Using Mysql Query Browser
I have a table that is already created and I wanted to add a column, but put it somewhere in the middle of the table. is there a drag and drop (or something just as easy) method to move it up in the table? or do I have to re-create the whole table?

View Replies !
Mysql Query Browser...how Do I Ignore " Within A SET Statement?
I'm trying run this in mySQL query browser

Update xcart_classes x
Set classtext = "5 Year Protection <a href="javascript: void(0);" onclick="javascript: window.open('etp.htm','HELP_POPUP','width=406,height=261,toolbar=no,status=no,scrollbars=yes,resizable=no,menubar=no,location=no,direction=no');" class="PopupHelpLink">Learn More</a>"
where Classtext = "Add 5-Year Extended Protection";
Obviously it fails, and I'm pretty sure it's because of the double quotes on my SET statement...any idea on how to avoid that?

View Replies !
How To View Arabic Data In MySQL Query Browser
I am making a website on linux and i am using a program called rekall to view the database and also the table was created using this program.

most of the data in the database are in Arabic and rekall views the data in an acceptable manner with some errors and without any configuration

but when I tried MySQL Query Browser on windows and several other programs including navicat, toad, heidiSQL all the arabic data was not viewable except the data in blobs which can be exported to extenal files

The website encoding is [ar-eg] and [utf-8]
I want to view the arabic data stored in the table using a windows program
and if the program is fast and simple it would be much better as I am not the one who is going to use it

View Replies !
Can Only Connect Remotely, But Not Locally
The issue I'm having is that I can only connect to my database as the root user when I'm connecting remotely. In other words, only the user 'root'@'%' is able to connect. I believe this because I'm able to query databases using MySQL Query Browser (which would use the 'root'@'%' user to connect, as it's being run from a computer that is not the same computer that the database is running on). However, when I use any connection that connects as 'root'@'localhost' (for instance, a Python script run on the server), it gives me the following error:

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

I was able to connect earlier. However, after losing ssh connection in the middle of having a script running on the server, I started having this issue. I've restarted the server twice now, with no results. Oddly enough, the script works if I connect as '(the server's name)' instead of 'localhost'.

Additionally, I can't run /bin/mysql anymore either. I assume that it's trying to connect through 'root'@'localhost' as well, because I get the same error.

View Replies !
PhpMyAdmin Dump On Local MySQL Administrator/ Query Browser
Ok I give in, I cannot get data obtained from phpMyAdmin into my local database at all! I've tried:

- Saving export as .SQL file and restoring using MySQL Administrator but I get a message that the file was not created using MySQL Administrator.

- I've tried doing a table with data dump and using that SQL query in MySQL Query Browser but it only inserts a few rows instead of all 1050.

What am I doing wrong?? I can't seem to find much info on this particular problem. I want to manipulate data locally instead of over a slow network connection as my queries are getting pretty complex...

View Replies !
Importing W/sql Scripts W/utf8 Encoding Using PhpMyAdmin & MySQL Query Browser
NB: Some of this is related to the The Definitive Guide to Web Character Encoding article but I thought it would be best to ask these questions in here because of your experience with MySQL. Please excuse me if I've made a mistake in making this post here.

QUESTIONS Does anyone know how to correctly run an sql import script with utf8 encoding in phpMyAdmin so that the utf8 text appears correctly when the content is pulled into a browser?Does anyone know how to view and edit text in phpMyAdmin & MySQL Query Browser so that the characters will stay in utf8 format for phpMyAdmin & MySQL Query Browser and for the browser when it pulls the data from the table?
BACKGROUND
I've had some difficulty running sql scripts from phpMyAdmin that have utf8 encoding and having that content appear correctly in a web page. I've also had issues with viewing and editing content in phpMyAdmin and MySQL Query Browser when the tables and content are set to utf8.The table and columns all have utf8 set as the character set.The sql script is encoded as utf8.The web page that pulls the data from the tables has the <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> in the header.MySQL Query Browser has Arial Unicode MS set as its font so that I can view most unicode characters in it.
After the sql script is run against the db via phpMyAdmin the characters appear without issue in phpMyAdmin or MySQL Query Browser but when they're pulled via a PHP script to appear in a web page the characters do not appear correctly.

If I submit content via a browser's web form that's encoded with utf8 the characters come back in the browser without issue but the characters do not appear correctly in phpMyAdmin or in MySQL Query Browser when I browse the tables.

If I edit the content in a table using phpMyAdmin or MySQL Query Browser the content appears correctly in phpMyAdmin & MySQL Query Browser but no longer appears correctly in the web page.

SOLUTION
For now I found that using a PHP script to read and process the sql file I can get the data into the db and the content will appear correctly in a web page but this avoids the use of phpMyAdmin & MySQL Query Browser. I'd like to be able to use phpMyAdmin & MySQL Query Browser every now and then ... any ideas on what I might be doing wrong?

View Replies !
Cannot Connect To Ucsc Genome Browser
installed mysql 5.1.31 on win32, enabled tcp/ip port 3306 with firewall exception.

started mysql>

i tried to connect to this host using this command:

mysql> -h mysql.cse.ucsc.edu -q genome;

im getting this error: error 1064 (42000) you have an error in your sql syntax etc....

View Replies !
Accessing A Mysql DB Remotely
I am building a kiosk which uses a lockdown browser. The browser uses a php page to access a MySQL DB on a web server. It will not allow me to connect to the DB because I am using the following connection string:

mysql_connect("localhost","*****","*****");
mysql_select_db("******") or die ('I cannot connect to the

database because: ' . mysql_error());

I know that the problem here is that I'm trying to connect to 'localhost' when the actual DB resides elsewhere. The question I'm asking is how to find out how to connect to my DB. Is it just mysql.mydomain.com instead of localhost or what?

View Replies !
How To Access A MySQL DB Remotely
There are some interactions with a MySQL DB that is stored remotely on a web server.

I know I have to change the connect function to reflect the fact that the DB is not local, thereby replacing "localhost" in the connect function with something else..

Question is, what is that something else? IP? IP+Port? How do I get this config info?

View Replies !
Clear MySQL History - Remotely
I was wondering if it's possible to Clear MySQL's History Remotely.

Considering that you only have root access to the database but no
access to the linux box.

I found something in Goggle to do this, but you need to have access to
the linux box:

cat /dev/null ~/.mysql_history

How can you do this remotely with only root access to the database and
not to the linux box?

View Replies !
Accessing Mysql Programs Remotely
Is there any method you can use to access the mysql programs (mysqld, mysqladmin etc) from a remote computer? Or do they need to be ran on the server itself?

View Replies !
Backup MYSQL Database Remotely
I have a couple of MySQL Databases that store forum data on a number of servers.....and recently had an issue where the serve crashed and i lost a load of data...i want to prevent this from happening in the future and limit the amount of data lost.......

is there a way to backup or mirror the data in my mysql dtabases to a copy which i plan to store locally on my PC, purely for backup purposes?

View Replies !
Couldn't Connect To /var/lib/mysql/mysql.sock: Connect: Permission Denied
I try to connect from a perl program to mysql and get:

>> Couldn't connect to /var/lib/mysql/mysql.sock: connect: Permission denied

1.) The /var/lib/mysql/mysql.sock file EXIST!
2.) The mysql server is UP, I can connect from the terminal using "mysql" command (which in fact uses this socket!).
3.) /var/lib/mysql/ and everything in it has user=mysql and group=mysql
4.) mysql.sock has 777 permission

So I am compleatly helpless why perl can not connect!!!
The perl program is OK, I have transfered it to an other server and there it works.
The error must be somewhere at mysql but I cant find it

View Replies !
Connect Mysql5 Using C++ In Redhat-linux
how to connect MySQL using C++ in redhat ....

can any one tell a sample of code to creat ,connect and execute the
statement in c++ code ...

View Replies !
MySQL Browser
My browser just does
not display the result. When I execute any query, it
runs OK but the rows in the result set are all blank
and I am not able to see the values at all.

I uninstall and reinstall and it does not help. What
can I do?

View Replies !
MySQL Browser - Rows Returned In
Can anybody tell me what the "rows returned in" numbers at the bottom left of the results window signify, especially the one in ()? I have searched the docs to no avail!

View Replies !
Executing Script On Mysql Browser
I execute a script on the mysql browser by doing a file -> new script tab and pasting my script on the tab. Then I execute the script. Each line get executed twice.

View Replies !
How To Use A Copy Of A MYSQL 4.1 Database In MYSQL 5 Running On Ubuntu Linux
We had a "permanent world" game server running on an older PC, under Ubuntu 5.10, using a MYSQL 4.1 database to store persistent data for the players, then the hard disk quit. We did back up our data on a regular basis, but didn't use MYSQL to do the backups, we simply copied the MYSQL/data/ folder to disk.

So now we have a new hard disk, with Ubuntu 7.10 and MYSQL 5 installed. We have everything working, in that we have created the appropriate database and, using a simple test module of our game which will create some of the tables if they don't exist in the database, we can store and retrieve data from the database tables. The problem we have is how in the world do we get the data from the backup copy of the MYSQL 4.1 created database into the new MYSQL 5 database correctly? With 4.1 we could copy the contents of the database folder right into the database folder in the /var/lib/MYSQL/ folder, but this procedure didn't work with MYSQL 5. The files seemed to copy, as in the copy operation gave no errors, but we get an error that says the database is unavailable and to make sure the MYSQL server is running - it is, so we're stumped, and our game server is offline.

View Replies !
Query Browser 1.1.4 Conflicts
I am using MySQL Server 5.0.2 alpha-nt with Mysql query browser 1.1.4 on winXP.
1.
When i open the query browser a WinXP error reporting dialog opens claiming 'mysql-nt.exe has created some error...
2.
When we execute scripts in query browser 1.1.4, it only shows if any errors have occured. How do i see the results of the script. 3.
Besides the statement ' select @var; ' in the browser shows @var as containing NULL even though it soes contain some value
ALso can someone guide me to the download page of mysql server 5.0.1.

View Replies !
Starting Query Browser
i installed mysql server 5.0 and other GUI components and the connector.in windows XP from the start menu i click my sql query browser and the dialogue box appears asking the host ,username and password and giving the port 3306(already filled in)i give localhost and the password which i gave during installation ,and an error comes saying mysql error 1045:access denied for user ODBC@localhost.

View Replies !
Query Browser Session
i've used ms sql server for years, but i'm trying to get a handle on mysql.

i'm using the query browser, trying to write a query that creates a mysql table, puts some stuff i there, and then selects.

i can write it in a query tab and execute it, but i don't see my resultset, so i don't know for sure if it's working properly.

i opened a result set tab and put the query in the toolbar and tried executing, but i think it executes each part of the query (separated by a semi-colon) in a new session, so after i create the mysqltable, i can't do anything with it because it's already destroyed.

View Replies !

Copyright © 2005-08 www.BigResource.com, All rights reserved