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




Connection Via MySQLCC


i've a db on my PC.

It has 192.168.50.195 IP.
It has a user, named amministrazione, who can select records in this db.

If i launch mysqlCC as amministrazione to localhost, i can access to db.
If i launch mysqlCC as amministrazione to my IP, i can't access to db.

ERROR 2003: Can't connect to MySQL server on '192.168.50.195' (10061)

Any idea about this problem?

PS in my my.cnf there is not "skip-networking" option
PS in my grant table i've amministrazione@% user who can select on db.




View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread
Connection Via MySQLCC
It has 192.168.50.195 IP.
It has a user, named amministrazione, who can select records in this db.

If i launch mysqlCC as amministrazione to localhost, i can access to db.
If i launch mysqlCC as amministrazione to my IP, i can't access to db.

ERROR 2003: Can't connect to MySQL server on '192.168.50.195' (10061)

Any idea about this problem?

PS in my my.cnf there is not "skip-networking" option
PS in my grant table i've amministrazione@% user who can select on db.

MySQLCC
Why is it so hard to print out actual line or part of the script where error happens.

Now executing a script gives "[mysql4] ERROR 1064: 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 '( <field> )' at line 2"

Line 2? wtf? It created 20+ tables before this error. It can't be line 2.

Why doesn't it just print out "There is error in you script". It's as helpfull as currently generated error message.

- Lagopus -

MySQLcc
I'm running mySQL V4.1 on XP Pro. I'm also using mySQL Control Centre 0.8.10
beta. I can shut a server down, but there's no UI (that I can find) to start
it again.

If I go run services.msc I can't get mySQL to stop, or restart as it
timesout.

Documentation Mysqlcc
Do you know where (and if) I can find documentation on MySQLcc?

Documentation Mysqlcc
where I can find documentation on MySQLcc?

Mysqlcc Vs Phpmyadmin
--=__Part336D2828.0__=
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

tell me if mysqlcc does the same thing as phpmyadmin.

Mystry About Mysqlcc
I got me a copy of mysqlcc 0.9.2-beta and installed it on my win 2000 box.
No complaints so far.

There is an icon on the desktop.
I click it and for a really short moment there is a sandclock and then
nothing happens. Mysqlcc just dosn't bother to appear.

I went to the c:programmemysqlcc directory on the console and tried to
start it on the command line to catch some error messages but still
nothing happens.

Then I copied the zip to my notebook which has more or less the same
windows on it.
There everything works fine.

Any hints what there's wrong with my desktop-comp ?

MySQLCC Vs Administrator
What is the difference between the Administrator and the Control Centre? They look like they do the same thing, just in different ways

MySQLCC Error 1146
I created a table "roles" in "test" db. Everytime i right click on the
table and do "Open Table", i get the following error message:

[Local] ERROR 1146: Table 'test.1' doesn't exist

When i look at the "Explain" window, i see that the ID of my "roles"
table is 1. In the SQL Debug window of MySQLCC, i see "SHOW FIELDS
FROM '1'". Is this a bug? Why does MySQLCC keep refering to my "roles"
tables by ID '1' ??

When i do manual insert statements on my roles table it works fine but
everytime i try to use the MySQLCC gui, i get the same error.

Mysqlcc Not Coming Up In Windows XP
I am trying to run MySQLcc(0.9.2) on Windows XP. When I try to bring it
up I get an hourglass for a second, then nothing happens. Has anyone
had similar issues or any ideas as to what could cause this?

Client Too Old Error With MySQLCC
I am using mysqlCC to try to connect to a 5.0 mysql server, and I am getting the commom
Client does not support authentication protocol requested
by server; consider upgrading MySQL client
error

Has anyone updated the mysql client for MySQL ControlCenter before?

Mysqlcc Application Error On Connect
Trying to connect with mysqlcc and i get the following message dialog.

(Application popup: mysqlcc.exe - Application Error : The instruction at
"0x39ee1141" referenced memory at "0x656e6e6f". The memory could not be
"read".
Click on OK to terminate the program
Click on CANCEL to debug the program )

I am using windows 2000 Professional with SP4 and trying to connect to a ver 3.21 mysql server.

MySQLCC Returns 1000 Row Limit
When I double click on a table in mysqlcc only the first 1000 rows are returned. I know there is a way to change this Limit as I did it over a year ago on another machine- and forgot to write down how!

I need to change this limit somehw- and somewhere so I get back all the rows- or a large number > 1000. If anybody has done this please refresh my memory-

Using Home Box As A Win Server, Using Mysqlcc To Manipulate Database..
how i am able to export my database to a unix server.

i have built the 10 product database to test and build a website, but now i need to expand the content to more than 10 items. i don't want to build a big DB if i can't export it to a web server.

also, the server i am getting, (although it uses mysql) they use phpmyadmin to administer the DB.

Mysql-administrator And Mysqlcc Install Directory Conventions
What Linux directory ought the mysql-administrator and mysqlcc
executables be installed? Granted, they'll run from anywhere but is
there a common path used by most Linux distributions?

1146 MySqlCC Error Cant Update Table Data
I am working with MYSQLCC (Control Center) and when I try and add data to a table using the run query it errors out with error 1146.

error 1146. table rossoptical.1 doesn't exist.

my table name is asphericallenses

It seems like there is a reference pointer problem!

This is my first time using the MYSQLCC and I dropped the table and recreated it with all of the data. I Still the same problem.

I have read a lot about other problems here and I think I have done everything suggested.

even when I run the select query I get the same problem, but I do see the columns of data, I just can not change the data.

New Error 1146 Error And Behavior With Mysqlcc + Mysql-5.0.15
I have just switched from mysql-4.1.14 on a FreeBSD-4.11 box to
mysql-5.0.15 on a FreeBSD-6.0 box. In both environments I use mysqlcc
to select, insert and update tables. On the 4.1.14 machine, using
mysqlcc, I could double click in a field and change its value; only if
I had selected all the fields. I couls not do this if I had selected a
subset of the fields. The number of rows returned didn't matter, as
long as I did "select * from..." I could directly edit a field value in
mysqlcc.

Now, under mysql-5.0.15, I cannot edit fields at all, whether I "select
* from..." or not. And every select I do gives me this error in
mysqlcc's explain pane:

[mymachine] ERROR 1146: Table 'tablename.1' doesn't exist

Well it certainly does exist, and I can edit its values using the mysql
client or phpmyadmin (ugh, clumsy). There are lots of posts on the net
about error 1146 and various apps and various versions of mysql and
even mysqlcc. mysqlcc had this problem with an earlier version of mysql
than 5.x but this supposedly was fixed with release 0.94.

Can anyone give me some insight on what's going on here, or a
workaround? Or another gui client that works as well as mysqlcc?

Changes Made In One Connection Does Not Reveal In Another Connection At Once.
I use many connection and the same as many threads in my server app to gain performance on a multicpu machine.

Firstlly i call "set autocommit=0" and wrap every statements with "start transaction " and "commit". i use mysql_stmt_execute for every statement rather than mysql_real_execute except those that can't be prepared. The version of mysql is 4.1.11 under Debian linux.

In one connection of one THREAD i insert a row into a table. After i got the sucess code and the last insert id, i then do a "select" from another connection in another THREAD with the "last insert id" return by the previous insert . I expect the select can fetch the row that i have just insert , but some time it does and some time it doesn't.

is there any funtion like "mysql_....flush...cache.." to make the changes from one connection to be reveal to the global at once?

Connection
I installed MySQL 5.0 in my machine. I'm using a software (EMS SQL Manager) and i try to create a new database. I need to make a connection with MySQL server but the following error its occurs: Access denied for user root@localhost (using password NO).

Connection
when connecting to mysql i get an error message as
"Access denied for user: 'abc@abc.com' (Using password: YES)" .

Connection
I just installed mysql 4.0 .There were many problems
with upgrading from 3.23 to 4.0 so I deleted 3.23 and
made a fresh start with 4.0. Everything works fine now
but the only problem to connect to the server is via
the /usr/local/mysql/bin directory. Is there a way to
connect if I am root.

Connection
I have installed mysql by yum (on fedora core 3): yum install mysql
And I want connected me, I have the following message:

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

Connection
I have a mysql database running on my server and i want to let someone else connect to it.

Using cPanel and WHM on a Linux box.

This is the error we are getting on the other site:

Unable to connect to database server!
Host 'server14.******.com' is not allowed to connect to this MySQL server

How can i allow there server to connect?

Php Connection
I have installed mysql 4.1 and things are working. I select the program from the start menu and it takes me straight to the command prompt where I type in the password I set upon installation. When connecting to mysql server using php you have to specify:
$host = "";
$user = "";
$pass = "";
$connect = mysql_connect($host, $user, $pass);

The problem is that I don't know what's my user? or my host for that matter. I assume since its installed locally the $host would be 'localhost' but how do I find out my $user? Or can I just simply type in a $host and $pass alone? and leave out the $user? While I am here, can someone point me to some really good mysql tutorials. Not the ones mixed with php, just plain mysql.

Connection
The database has already been made and is installed in http://TL28serv and has a dsn of "warehouse".

It says to connect to the database you need to use the following connection string:

myconn.open"warehouse","IWSDstudent","assign2"
(this is assuming that the connection object you create is called myconn).

Does any one know how to create this connection object? and how to use the connection string?

Connection
Yesterday I was able to connect and work with the database.

Today, I cannot connect. I do not remember changing anything.

I repaired Apache2. Do no know if it needed a repair.

Reinstalled mysql. Seemed to be my problem.

When trying to open mysql@localhost, I receive an error Access denied for
the user name@localhost Using password

I reentered the password.

Still no success.

What am I missing??

The icon for Apache is green.

The Icon for mysql admin is green.

Connection
I've downloaded mysql and php to my computer. I am also running the latest version of apache. But im really confused how to get mysql to work with my domain. When i use the php script to connect to mysql using localhost as the "hostname" everthing works fine, but thats just looking at it on my local computer. How do I do it for my site that is actually on the web.

Can I still use localhost as the host name or do I have to get another one somehow? If so how do I set it up?

Connection
I keep getting connection lost errors from a DOS windows mysql client
on Windows 2000 from which I access a MySQL server (3.23.58) on RH9
(located on a dedicated server outside the country).

ERROR 2006: MySQL server has gone away
No connection. Trying to reconnect...

SQL statements are okay, tables are okay but whenever I stay idle for
a few seconds, I get an error. If I retry, I get a reconnect and
everything goes well... Then the same thing happens again. I have
set all timeout parameters to a few hours and it doesn't help? What
could cause that, any idea?

Connection
Code:
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
C:Documents and Settingsdy>cd C:mysqlin
C:mysqlin>mysqladmin -u root password abc
mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to MySQL server on 'localhost' (10061)'
Check that mysqld is running on localhost and that the port is 3306.
You can check this by doing 'telnet localhost 3306'
when i want to set my root password, thw following error message shows.
how can i connect to my SQL server? i am running it for learning purpose.what should i do to fix this problem?
is it installing Apache would be ok for that ?

Connection
I am using C to access and query MYSQL DB(on HP UX 11i). Evrything works fine for 1 query to mysql Db. Problem starts when i try to give more than 5 requests to the same DB. I am using PERL to give many request to my program, which inturns give request to the MYSQL.

NOTE: Many THREADS are using the MYSQL DB at a time.

The errors i get are :
2003 2004 2006 (all realted to lost connection from the mysql server)

and Segemntation fault error.

I have tried increasing the server parameters like "max_connections" "heap size" and various other parameters.

Why Close A DB Connection?
Why should I close a DB connection?

I have asked this question somewhat before, but never received a solid answer, like "it's good practice", but why?


Connection Do Database Using Psp
I use a hosting company for my websites. I have created a mysql dabase using my hosting company's control panel. Now, I am trying to figure how I connect to it to enter data.

MYsql Connection/PHP
I am getting the following message, when I installed mysql client version 5.1.11. I get this message when I tried to connect through PHP. I am using, windows XP professional.

"Client does not support authentication protocol requested by server; consider upgrading MySQL client"

MyODCB 3.51 And DSN-Less Connection
I am using Micorosoft Access 2000 as a fornt end and MySQL as a back end.

I hope someone may be help me to clarify the following:

Q.1. Where do I specify cursor location to be adUseClient

Q.2. Where do I specify cursor type to be adOpenStatic

Q.3. Where do I specify lock types to be adLockOptimistic

Connection Lost
I have an unusual problem with the error "Lost connection to MySQL sever
during query". I receive this message only when querying one table in a
database. All other tables and queries work fine.

5.0.1 Connection Problems
I have installed 5.0.1 on RH Enterprise V.3 Everything is fine locally. When I try to connect with ODBC from a remote PC via excel, navicat, MysqlAdmin,Control Center, Toad, etc., etc. The connection takes at least 10 seconds and navigating the tables and admin is very slow. I only have this issue with 5.0.1. Does anyone have a clue as to why this is happening? I am stumped...older versions are almost instant. This has become a major roadblock for me as the lag is unacceptable for what we need. If anyone has experienced this let me know or if you have solved this please share.

Asp Connection Strings
I am a novice at using database websites.  I need to connect to a MySQL database on a remote server using ASP......

I have been given the following by tech support at my ISP (Fasthosts).....

"DRIVER={MySQL ODBC 3.51 Driver};SERVER=data.domain.com;PORT=3306;DATABASE=myDatabase; USER=myUsername;PASSWORD=myPassword;OPTION=3;"

My questions are

Is "DRIVER" a Memory Variable, and if so,

Does "DRIVER" gain a value (True or False) if the connection is successful or not (respectively)?

Can anybody let me have a more complete ASP script which will let me know if the connection has been sucessful or not.

Connection To Database
is the syntax the same as connecting to mssql using asp?? this is how i connect to mssql using asp:

Set Conn = Server.CreateObject("ADODB.Connection")
Set RS = SErver.CreateObject("ADODB.Recordset")
strConn = "DSN=FYP_Actual;Driver={SQL SERVER}; UID=sa;pwd=;"
Conn.Open strConn

is this the same way i connect to mySQL too?

Connection To MySQL Using .net
I am trying to connect to a MySQL database, using the .Net framework.

I installed the newest MyODCB (3.51) and the .Net ODBC drivers from
Microsoft.

I made a System DSN using the driver, and i get it to connect - so far
so good.

But if i try making a new connection i my code using the sample
connectionstring from MySQL, i get an Exception :(

"An OLE DB Provider was not specified in the ConnectionString. An
example would be, 'Provider=SQLOLEDB;'."

What i try is:

Return New OleDb.OleDbCommand("DRIVER={MySQL ODBC 3.51
Driver};SERVER=localhost;DATABASE=bigshop;UID=root ;PASSWORD=;OPTION=3;")

Remote Connection
How do i connect to a remote (webserver) Mysql from the windows command line?

PHP Connection To MySQL
I'm working on a simple script to create two tables within a database, and I'm sure its just some stupid error I'm making, but I cannot seem to get it to work! Here's my function: Code:

Connection Problem
I have a computer i am slowing building into a web server. I have Apache 2.0, PHP4.2.3 (i think, PHP4 anyways), and MYSQL 4.1 running on windows 2000.

I wanted to run PHPNuke on it right now, but i am having problems connecting to my MYSQL. I can't seem to get the login information on my PHPNuke config file right, and I have no idea where to get it. I try localhost, root, my pw, and the table name, but no dice. Tried many different things.

Is there somewhere in mysql, mysql admin, or the Control center that tells you the correct information? I am rather new to this, can you even connect a php program to MYSQL if they are on the same computer?

MySQL-PHP Connection
the problem i'm facing is of mySQL-PHP connection. i'm trying ...

<?
$link = mysql_connect("localhost",'root','nawal')or die("Connect Error: ".mysql_error());
print "Successfully connected.
";
mysql_close($link);
?>

and getting this message...

Warning: mysql_connect(): Client does not support authentication protocol requested by server; consider upgrading MySQL client in C:Program FilesApache GroupApache2htdocs estindex.php on line 5

Connect Error: Client does not support authentication protocol requested by server; consider upgrading MySQL client.

Too Many Connection Problem
There are only 5 users surfing my website, and I suffer from too many connection problem. I use freebsd and mysql-server-4.0.24 with vBulletin.

Here is my my.cnf file:
[client]
port=3306
socket=/tmp/mysql.sock

[mysqld]
port=3306
socket=/tmp/mysql.sock

[mysql]
no-auto-rehash
set-variable = connect_timeout=12
set-variable = max_connections=1000
#mysql.allow_persistent=Off

Is there anything wrong with my configuration?

Lost Connection
I am getting this error "ERROR 2013: Lost connection to MySQL server
during query" when i try to connect from one client, on all other
clients i don't have any problems connecting to specific server.
Also from this client i can connect to the other servers without any
problem.

Connection Problems
When I try to connect to the MySQL server I get this message:

Can't connect to local MySQL server through socket '/tmp/mysql.sock' (61)

I used the mysql_connect("localhost", "username", "pass") function. I don't know what this problem precisely means or solve it.

Connection Count
I've got a problem getting the count of the users that are connected to a mysql-db in combination with a terminal server (win2k3)

I can get the processlist from mysql, but all the hostname's in that list are the terminal server itself, and not the users connected through the terminal server.
(http://dev.mysql.com/doc/refman/5.1/en/show-processlist.html)

How can I get these adresses ?

MySQL Connection Over LAN.
I have installed mySQL server on a computer (ServerName: AHMED, ip:192.162.0.1) and teh server listens at port:3306.

I type "mysql -u root -p" on command line to connect to the server on local host.

Now I want to connect to the same server over the network from a computer (ComputerName: FARAZ, ip: 192.168.0.2). I Copied mysql.exe to the client PC (FARAZ) and I typed the line "mysql AHMED -u root -p" on FARAZ (Client PC) but It says that it fails to find any mySQL sever on AHMED.

1] If I only have to copy mysql.exe on the client to access mySQL server over a network.
2] Am I right to type "mysql AHMED -u root -p" on the client to connect to the mySQL server?

HTTP Connection
Can anyone give me some brief description on how to establish HTTP connection from MySQL as we use UTL_TCP.CONNECTION in Oracle.


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