Connectivity Across The Network
I have read many postings about limiting connectivity and security. I would simply like to be able to connect my jdbc java applet to my mysql database.
I can connect when I run the browser from the same machine as both the web server and mysql db and then set jdbc driver code for URL to 'localhost' or '127.0.0.1' and everything seems to work fine. COnnects, applet works, I can read and write data, etc.
But when I set the JDBC code URL to '192.168.1.3' (the IP address of my machine) and try to access this, I cannot connect to the database at all from any machine.
How do I allow connections to mysql from something that is not localhost or is on another machine?
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Mysql - Php Connectivity
I'm running PHP5.2.3 with MySQL 5.0. I can access mysql server from command line (or MySQLQueryBrowser ) but I cannot connect from PHP via mysql_connect() function. The message is "Fatal Error: Call to undefined function mysql_connect() in somedirectory". Extensions such as libmysql.dll are in WINDOWSsystem32 directory as it should be.
Connectivity Dropped
Specifically the PHP database connection code. Swapping $db = mysql_connect("localhost", "root", ""); to $db = mysql_connect("system IP", "root", ""); Tested the pages and now they are refusing to connect to the database. Looked in the MySQL administrator; didn't notice any setting that wouldn't allow a page to connect by specific IP address. Using MySQL 4.1 and Administrator 1.2.3 rc The development machine and test machine are the same.
ODBC Connectivity
I downloaded the MySql ODBC driver and have tried to create a System DSN...I get this error if point to IP or domain name: [MySQL][ODBC 3.51 Driver]Unknown MySQL server host 'mysqlname.mydomainname.com' (11004)
Connectivity Issue
I have installed ver 5.0 on a windows 2000 server. I am accessing that machine via Terminal Services and using the host's administrator account for login. I have successfully walked through the drill of setting up an instance, setting up a connection, logging in as root, using the query browser tool to create and drop a database, and to add tables to that database. My difficulty is that I have accomplished all of this using the localhost account. When I attempt to connect using an IP address, I get the following message: Host '<my host>' is not allowed to connect to this MySQL server. I am able to ping the server just fine, and it is a static, public IP. When I search the docs, I find that the error message translates to SQLState = HY000 (ER_HOST_NOT_PRIVLEGED) - but I can't find much on how to resolve this.
Delay In ODBC Connectivity
I am using MySQL as backend database server of my own Visual Basic Project. I generally code using VB6 as well as VB.Net 2005 also. In both cases I user MySQL ODBC Connector 3.51.06 or 3.51.12. In both cases generally I use DSNLess connectivity style in Visual Basic as follows: constring = "Driver={MySQL ODBC 3.51 Driver};Server=128.233.2.4;Port=3306;Database=chrd;User=chrd;Password=chrd1234;Option=3;" Set con = New ADODB.Connection con.Open constring con.CursorLocation = adUseClient When I use MySQL 4.x or 5.x in MS-Windows environment, it works fine and no delay is found in connecting the database, but when I am porting this same code for a Linux Server (Fedora 8) along with 5.x MySQL Server, always I am noticing a few seconds delay in connecting the ODBC remote database, in both VB6 as well as VB.Net 2005. But when connection has been established any query if I fire, it shows result without any delay, very fast. I have tried the same with MySQL Connector/ODBC 5.1 driver also. But the delay is same. Just I am asking what is the problem in connecting MySQL server in Linux platform using ODBC, which is producing remarkable delay ? How can I minimise this delay in connectivity?
Problem Of Remote Connectivity From Mac OSX
I have a flash application that work on both plateforms Pc and Mac. In this application i do a connection to a MySqlDatabase to activate it. so, to make my tests i have a pc and mac on the same home network to make sure it works fine, i have installed EasyPhp on my PC and MAMP on the Mac, to be able to test the connection to local MySqlServer. the syntaxe that i use to connect to the database is this one : mdm.Database.MySQL.connect(host:String, port:String, compression:Boolean, userName:String, password:String, databaseName:String) So, to connect to local MySqlServer : i have this code: mdm.Database.MySQL.connect("localhost", "3306", true, "root", "", "DBName"); and it work just fine on the PC using EasyPhp and on the Mac using MAMP. I can connect on my database on each plateform. So now, i want to connect to our remote MySqlServer, so, to connect to our Private server : i have this code: mdm.Database.MySQL.connect("64.150.160.230", "3306", true, "userName", "userPassword", "DBName"); on the PC: it works just fine, i am able to connect to our database and do queries on our private server. on the Mac : it cannot connect... erroe message: unable to connect to server i really don"t know where could from my problem, i am working on since a week without answers.
MAXDB And SQL Studio Connectivity
I have created a sample database in MaxDB. When i try to connect from SQL Studio i'm getting the following error... odbc-eRROR : [sap ag][sqlod32 dll][MaxDB] Unable to connect to data source; -709 CONNECT : (unknown host name). return-code: SQL_ERROR (-709). Server : <local> Database : POINTOS User : DAN Password : MYDBPASS these were the connection parameters.
MAXDB And SQL Studio Connectivity
I have created a sample database in MaxDB. When i try to connect from SQL Studio i'm getting the following error.. odbc-eRROR : [sap ag][sqlod32 dll][MaxDB] Unable to connect to data source; -709 CONNECT : (unknown host name). return-code: SQL_ERROR (-709). Server : <local> Database : POINTOS User : DAN Password : MYDBPASS these were the connection parameters.
Database Connectivity/Security
Ok... I've done enough web coding and security to know I am obviously missing something here. I understand the coding to connect to MySQL with PHP, and dictate which db and which username and password to connect to the db. My question is... "Isn't that dangerous to publish that critical data into a PHP file for everyone to see?" How is that hidden or am I totally missing something?
Sun Java Studio Ent. 8 Connectivity
My problem comes when I attempt to connect to my MySQL database using Suns Java Studio Enterprise 8 IDE. I added the C:MySQL jarmysql-connector-java-3.1.13mysqk-connector-java-3.1.13.bin.jar to the class path and to the database driver path The driver is defaulted to ==> org.gjt.mm.mysql.Driver The database url is ==> jdbc:mysql://localhost:3306/test User Name is ==> root and the password is == ***** (This is the same User name, password and database that I have used/created using MySQL Administrator.) When I attempt to test my connection I receive the following exception thrown. **************************************************************************************** Annotation: Exception occurred in Request Processor java.lang.NoClassDefFoundError: org/aspectj/lang/Signature at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:242) at org.netbeans.modules.db.explorer.DatabaseConnection$2.run(DatabaseConnection.java:443) at org.openide.util.Task.run(Task.java:189) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:330) [catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:721) ***************************************************************************************** MySQL is installed in C:Program FilesMySQLMySQL Server 5.0... Should the db url reflect this location?
Remote Host Connectivity
I just started using MySQL, and cannot find how to configure host access in the my.cnf file. I want to be able to allow access to a MySQL database from a remote host, and also from a particular network. How do you configure access of this sort?
Bizarre MySQL Connectivity Issue
I'm connected to the internet using Rogers Cable, going directly through the Cable Modem. I'm getting error 1044 on 3 machines in my home (I cannot connect to the database server). However, if my buddy brings his ACER laptop over he connects using MySQL front to the database server. But my 3 Dells cannot connect using MySQL front at my place. But if I take my Dell Inspiron 6000 to his place, using Bell DSL, I can connect to the database using MySQL front.
Network
Using a trigger can I send a TCP/IP message to the network everytime a new record is INSERT into a table?
Can't Connect Over Network
I have mysql 4.0.16 on my windows machine and have just installed suse linux on another machine. It comes with mysql 4.0.15. After I got the user setup I was able to use the mysql client on the windows machine to connect to mysql on the linux machine I even used mysqldump piped to mysql to dump a database to the new server. But now I can't seem to login anymore. I don't think I changed any settings on the linux machine so I am at a loss as to why I am getting this error. ERROR 2013: Lost connection to MySQL server during query That happens immediately after I type in mysql -h 192.168.1.2 -u cdw -pxxxxxx and hit enter
Can't Connect Over Network
I have mysql 4.0.16 on my windows machine and have just installed suse linux on another machine. It comes with mysql 4.0.15. After I got the user setup I was able to use the mysql client on the windows machine to connect to mysql on the linux machine I even used mysqldump piped to mysql to dump a database to the new server. But now I can't seem to login anymore. I don't think I changed any settings on the linux machine so I am at a loss as to why I am getting this error. ERROR 2013: Lost connection to MySQL server during query That happens immediately after I type in mysql -h 192.168.1.2 -u cdw -pxxxxxx and hit enter.
Network Connections
I can connect to the database on my FreeBSD system, but not from another system on my network. How do I set it up to allow remote connections?
MySQL Over A Network
I'm trying to connect to a MySQL database from one computer on a network to another computer on the same network.
Connecting To Database Over Network
I have a couple computers under one domain. I installed a MySQL database on my secondary computer and want to be able to access the information from that database on my primary computer. Both computers are able to share files, no problem there, but when I try to connect to my secondary computer from my primary, it times out and says "Can't connect to mysql server on 'second computer';" I had this working before but for some reason I can't get it to work now. Any ideas of what I'm missing here? Also I'm using MySQLcc so it makes it a little easier for me. I've even created a second user account for the MySQL database on my secondary computer so I'm not trying to connect to through the root user. (For example purpose, my secondary is called second and primary is call first...) From my primary computer, I try to connect using this.. Hostname: second User: user1 password: **** And it times out when I try this. If I put this into my secondary computer it connects no problem.
Installing PHP/MYSQL On A Win Network
I am going to teach PHP/MYSQL to a group of students on a windows network. Do I have to install these on every station or only on the server? In which directory do the students save and test their work?
Logging On From Network Workstation
Having trouble logging on to the server from a workstaion on the network. Have added myself as a global user and the workstation as a host. MySql is listening on port 3306 but I can't make a connection. I get [bob@Comp1 bob]$ mysql -h 192.168.0.2 -u bob -p Enter password: ERROR 1045: Access denied for user: 'bob@Comp1.home.wtaustralia.com' (Using password: YES) I am using Mandrake10.0 and Mysql 4.0.18 I can connect using ssh but not as a remote user.
Administrator And Network Names
I recently unchecked "Disable name resolving" within administrator, located on network server. My boss and I are the only administrators on the system and after a server reboot, our network names were resolved in administrator. However every other computer on the network, without mysql administrator, still appears as "localhost:port#. Is there a way to see other network names?
MySQL And Network Appliance
I was reading about The DataWare 2600 appliance from PogoLinux but that device was made back in 2003. I have a client server application that gathers computer information and uses that info in a database to deploy new pc's. Today I use Microsoft SQL 2005 database. It would be nice if I could use a Network Appliance running MySQL and Linux embedded rather that a traditional Microsoft server with SQL 2005. Are there any network appliance products available today that run MySQL with Linux embedded. I searched the web and couldn't find any vendors that offer this solution. Is there anything like this out in the market? My next question is how hard would it be to convert the database and queries from Microsoft SQL 2005 to MySQL?
Can't Connect Over Local Network
I have installed MySQL on 2 machines on my network, on an XP machine and on an eMac. Using CocoaMySQL on the emac I can connect to data on the XP machine. But when I try to connect to data on the eMac using MySQL Control Center on the XP machine, I get this alert popping up: Critical ERROR 1130: Host '10.0.1.2' is not allowed to connect to this MySQL serve (sic) So, the error on the XP box says that the XP box is a host not allowed to connect to "this" presumable what I had entered as the IP of the eMac (10.0.1.3).
Network Traffic MySQL 4.1
Is anybody familar with the status variable "bytes_sent"? I have been running MySQL 4.0 on a Windows 2000 server for over a year and the variable "bytes_sent" was never greater than 0. Which would make sense because I am using MySQL for a in-house application that is networked throughout the plant. It is my understanding that bytes_sent is bytes sent through a TCP/IP connection. Anyways, I just installed MySQL 4.1 on a PC for testing and the "bytes_sent" field is jumping like crazy and I am the only user logged into the database. Where are the bytes being sent to?
Backup Over Network Strategy
I am using MySQL 4.1 on Mac OSX.3(Panther) and I need to write a simple solution to backup all databases to a share on the network at night. I know there are many posts regarding the different types of MySQL backup solutions, I haven't found any useful examples of using CRON jobs to do this (if that is even the best way). Does anyone know of a simple way to schedule this backup to happen and send the .sql files over to a network share? Otherwise I have to keep backing up manually which is not good.
Mysql On Local Network
Is there a way to share mysql on a local network? Both computers running IIS on Windows XP Pro. Both have php running, but using a root website folder on another computer (main server). Both are running PhpMyAdmin, but we are getting our own MySql database showing up. I want us both to get access to one MySql server. We both access the website using http://localhost
Turning Localhost To A Network Server
I have a small home network with two computers. On my computer I am running MySQL 4.1.21-community as localhost. I have only be using this for development work. My husband wants to learn SQL so I would like to be able to have Mysql Query Browser installed on his machine, with him accessing all the databases I have set up on my machine. How do I go about giving him access to my databases? My machine runs Windows XP and his runs Windows 2000.
List Server Names On Network.
I want to list all the server names on the network which are connected to my system. I want to proceed this using MYSQL.
Local Area Connection (network)
I have a local area connection (network) where the IP addresses are generated automatically. How do I find a server on a different computer in the same network? IP address are always changing so I have no idea how to find a server.
Error 13, Access A File In The Network
i am actually accessing a file that is located in the network, i get error 13 permission denied. It seems that i only can access files in a local disk drive. How can i set mysql to access the network??
Unable To Access Mysql On Network
We have one PC running xampp with a website on. that's working fine. however, when we go to another computer on the network and try to access the site, it cannot connect to mysql. eg: 192.168.5.101 is the machine running the site. (everything works fine) when accessing 192.168.5.101/site/ from another machine, the static HTML pages come over fine, but when we try to access a page using a mysql connection (PHP) we get an error. Access denied for user ODBC@localhost. the PHP method we use to connect is mysql_connect("localhost","root","")
MySQL On A Network Drive Error
I want to install the current version 4.0.13 of MySQL on a Win2000 machine in a directory different to the default (C:mysql). It should be a network drive, as this is backed up by our IT staff. I install the package using setup.exe and selecting "Custom" but just clicking OK on the following dialogue. As directory I selected something like "H:....MySQL_4.0.13". The package is installed correctly. I can install the service (mysqld --install) and see it in the Service catalogue of Win2K. However, when I want to run the service with "net start mysql" an error occurs: System error 65 has occured. Network access is denied. I checked the security settings on the directories, but I had the change priviledges. Setting them to "full access" didn't improve the situation. MySQL only works when I install it entirely on C:. What am I missing here? I would like the installation to reside on a network drive for the reasons outlined above.
Network Marketing Efforts Are Fail
Base on study made by one international marketing consultant, some of the reason why most of network marketing effort are fail :- 1) No clear explanation of what the website or business is about 2) Forms were asking for contact information without telling them what you're going to do with their information and "What's In It For them" 3) People need a proof that what the site says is true. 4) The need for understandable explanation of the compensation plan. 5) No indication of who, or WHAT, is behind the site.
Social Network Database Design Help
I'm using PHP and SQL to write a social networking-type site, where every user can make connections with other users, amassing a limitless list of "friends" (Which, as far as the database is concerned, is a collection of usernames). Since each user can store as many friends and he/she likes, it doesn't really lend itself to making a bunch of columns, since even if I made 100 columns for each user, they still wouldn't be able to store 101 friends, and I want them to be able to have limitless numbers of friends stored in their account (hypothetically). The only solution I could think of is to create a new unique table for each user, and store the list of their friends in that table. But is this practical? Is there another preferred method?
Structure Of Small Social Network
I need to setup a social network type mysql database, but not as intense as friendster, thefacebook, myspace, etc. i have a structure set up but it think it's weak and extremely limited: Code: +---------+-----------+ | user_id | friend_id | +---------+-----------+ | 5 | 4 | | 1 | 7 | +---------+-----------+ i fear it's going to be a lot of redundant IDs in a column, which i think could be a problem when retreiving friends: Code: +---------+-----------+ | user_id | friend_id | +---------+-----------+ | 5 | 4 | | 1 | 7 | | 1 | 9 | | 7 | 9 | +---------+-----------+ i want to do a "bob is friends with john" and a "jackie knows sally through richard" (aka friend of a friend). that's it and nothing more. how do i structure mySQL database to be able to this?
Steps To Connect Network Database
help me to connect to MYSQL Network Database. IN my webserver, phpadmin is installed. What and how i need to configure my local machine to connect the database. I 've installed mysql 4.1 and MY ODBC 3.51 in my machine but i was not able to connect it.
MySql Replication And Network Speed
We purchased 2 new HP DL385 servers that will be used for MySQL 5 in a replication environment. Server 1 (Master) is connected gigabit to our Cisco 3550 core switch The Cisco 3550 core switch is connected gigabit over fiber to a Cisco 3548 switch in another building. Server 2 (Slave) is connected to the Cisco 3548 on a 100MB switched port. My question is whether or not the 100MB connection is going to be good enough to do replication, or if I have to invest in getting gigabit all the way to the slave server?
Unable To Connect MySQL Server Across The Network
We have a MySQL server that was managed by another group in our company, the guy who used to manage that MySQL server has promptly left. Now this server has turned into me. I'm a Microsoft SQL guy, however, the manager doesn't think there is much difference between MSSQL and MYSQL. Now I am in the hot seat to fix a problem that just occurred last week. We're suddenly not able to connect this MySQL server across the network. I checked the network connection, everything looked fine, I was able to telnet into the port 3306. First I thought someone changed the root password, but I was able to connect the server from the local server by using: mysql -h localhost -u root -p Other accounts have the same problem as well. If I try to connect this MySQL server from a workstation, I'll get the following error message: ERROR 1045 (00000): Access denied for user: 'root@CS7LL11' (Using password: YES) It will be geatly appreciated if someone can inform me what I need to do to fix this problem. By the way, this MySQL server has the version # 3.32.56-nt
MySQL Data On A Mapped Network Drive
I would like to have MySQL use a mapped network drive. I'd like to do this in case there is a failure of the mysql machine, I can just replace it with a new machine pointing to the same network drive.
Testing Access To MySQL-DB In Windows-Network
Background: I am writing in C# a program, which reads data out of a MySQL-DB. When the DB is on my local developer PC everything is fine. But when trying to access the MySQL-DB on a server in our Windowsnetwork, I receive the message: "Host '**' is not allowed to connect to this MySQL server".
Connection Issues To Local Install When Changing Network
I have installed MySql version 5.0 locally onto my laptop. I have problems when I change locations from the office to home, "Could not connect to specified instance. MySQL Error 1045 Access denied for user 'root'@'localhost' (using password:YES)" I have a static ip address at work and but not when connect from home, but I don't see why this should be an issue as the install is local to my machine. To get round this problem last time I had to uninstall and then reinstall MySQL but this is not really on every time I change locations.
Mysqldump Over Netowrk: Copy Table Instead Of Entire Network
mysqldump over network is working just fine like the following. mysqldump -ukzu -p jokes | mysql -h 192.168.1.190 -ukzu -p jokes I was wondering how I would copy a table in "jokes" instead of the whole db. Say if my table name was named "people" in the jokes table.
Capture IP Addr Of Network Users Accessing Database
I'm running MySql 5 and PHP 5, along with Apache2 on a winxp box. My database has info that needs to remain confidential, and as an extra security measure, I want to capture the dsn of the network users performing transactions. I have Apache configured to do this, but how do I get that data into my databse, so that I can match a transaction to a specific terminal at a specific time? I suspect somebody has already answered this, but I figure I haven't googled the right question. I am also capturing the user name and the time of each transaction, but that is pretty straightforward.
Storing Text Articles By Network... Use Of Single Table?
I have a website where each network has their own unique ID. Right now, there are about 100,000 individual networks. I want users to be able to submit a story based upon which network they belong to. The submitted story will only be shown in that network as well. The submitted text story will only be about 1000 words long, so not too long. The user will be often performing full text searches on stories in their network. Should I create a table called stories for each network? Or should I create a unique story id and link it to each network?
Network Problem - ERROR 2013 (HY000): Lost Connection ....
I'm having problems with my MySQL server when I do queries that return a lot of data over the network. It's fine if I connect via the local UNIX socket > mysql -u root -p > SELECT * FROM users limit 100; returns 100 rows in a few seconds >SELECT * FROM users limit 1000; returns 1000 rows in a few seconds But when I try the same thing but connecting to the network port I get > mysql -u root -p -h 127.0.0.1 -P 3306 > SELECT * FROM users limit 100; returns 100 rows in a few seconds > SELECT * FROM users limit 1000; sits there for about 15 minutes and then I get the following message ERROR 2013 (HY000): Lost connection to MySQL server during query If I watch the traffic with tcpdump it sends a few packets right at the start and then doesn't appear to be sending anything for the next 15 minutes until the error appears. I'm using 5.0.27-standard-log community edition.
How Do I Setup The Server On A Network Drive For Client Software To Access?
I'm building a database system for our department at work and have successfully installed the MySQL Server 5.0 to my local machine and developed my user interface to access it read/write/update, etc. just fine through VB6 and the ODBC driver. My problem now is how do I get the database files and server functions moved/transplanted/installed on a network share drive (Windows 2000) that my peers and I have access to, so that I can deploy me client user interface onto their machines so we can all access the database across the network and I can get the files off my local hard drive?
|