473,405 Members | 2,272 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

AppServer Problem - How can I connect MySQL in another pc.

Hi,

I have some problem in developing program using PHP.

I 'll explain my platforms:

I use appserv-win32-2.5.9 as a app server.
In the server, mysql client version is 5.0.37

Problems:
I can connect mysql database in localhost. Of course, I can connect using phpmyadmin and coding "mysql_connect(host, user, pwd)".
host=100.100.100.8 or localhost
user=root
pwd=a

But my partner in another pc cann't connect database. In this case, he can connect using phpmyadmin, but he cann't do using coding or GUI tools.

So, we are developing in different db in different pc, then our work is difficult.
I think the problem is in App server configuration.

Am I right or not?

Please help me!..

regards.
Nov 26 '07 #1
3 7337
ak1dnar
1,584 Expert 1GB
May be a permission problem. try like this;
Login to mySQL server using phpmyadmin and on the home page you can find
Privileges > Add a new User >
Then Set
User name: userName for your partner
Host: partner's machine IP address here
Password: password for your partner

Set the Global privileges to User

Now try to access the MySQL server from the partner's machine. It should work. Let me know if it is not working. Thanks !
Nov 26 '07 #2
May be a permission problem. try like this;
Login to mySQL server using phpmyadmin and on the home page you can find
Privileges > Add a new User >
Then Set
User name: userName for your partner
Host: partner's machine IP address here
Password: password for your partner

Set the Global privileges to User

Now try to access the MySQL server from the partner's machine. It should work. Let me know if it is not working. Thanks !
Thanks for your help. Thanks again.

It works well. You are a good friend.

Regards/
Nov 26 '07 #3
ak1dnar
1,584 Expert 1GB
Thanks for your help. Thanks again.

It works well. You are a good friend.

Regards/
Glad to hear you got it working! post back to the forum anytime.
Nov 26 '07 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

6
by: Eric W. Holzapfel | last post by:
Hello PHP group, I have mysql running on a linux box. I have apache (2.0.4) running on a diff linux box. I have php 4.X. I can connect to the mysql db using odbc from a windows box, but...
7
by: atlasyeo | last post by:
Hi, my first time posting on a newsgroup. anyway, let's cut to the chase. I'm trying to migrate mysql database form one server to another server. So I copied the data from /var/lib/mysql to the...
0
by: horseface | last post by:
Hi. Can somebody please help me? I'm trying to install Sun AppServer, but when I try to start the default domain, it fails. The first message in the log when everyhing goes to crap is: :...
0
by: Mark Adams | last post by:
I really need some help with this. MySQL will not start on boot despite everything I've done to make sure that it is set to do so. When I start it as root from a terminal with...
1
by: ikrabbe | last post by:
Hi, I want to set up a mysql server in an embedded process. I managed to start the server in my program as described through mysql_server_init() Now I need a client connection to this...
1
by: jiing | last post by:
Now let me describe what I have done and my purpose: Originally, I want to user ports to install phpBB But I found that phpBB doesn't support mysql 5.x (but the ports installed mySQL 5.0.0...
2
by: xiuchuanli | last post by:
I install Fedora 4 with web server, after that I installed mysql 5.0.15. Now I can connect to mysql from command line and mysql-administrator and mysql-query-browser. But when I try to test to...
5
by: smatta | last post by:
I have just installed MySql version 5.0-18 on Red Hat Fedora Core 4. It is running but I cant connect to it using MySql Query Browser running on my pc. >From my pc, I can telnet to the sql...
3
by: dmcquay | last post by:
Hi, I am setting up MySQL on a development box. I have set it up and can connect from localhost, but I cannot connect from another computer on the network. I have narrowed down the problem...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.