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.10 0.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.
3 7399 ak1dnar 1,584
Recognized Expert Top Contributor
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 !
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/
ak1dnar 1,584
Recognized Expert Top Contributor
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.
Sign in to post your reply or Sign up for a free account.
Similar topics |
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 cannot connect to the remote db from web
server box (linux) to mysql database (another linux box).
Apache is on RH Enterprise 3.0, mysql is on slacware (2.4.22 kernel).
I am using php, require_once('DB.php'),
and the dsn style connect string:...
|
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 other one.. and use
INSERT INTO from the old database to the new one..so the Top level
'mysql' database has all the correct users and password and priviledge.
however, when one of the php website trying to load..it'll say
|
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:
:
javax.naming.ServiceUnavailableException |#]
Can somebody at least point me to what is wrong? I tried simmilar
|
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 "/usr/bin/mysqld_safe
--skip-grant-tables &" I show several mysqld procs. and one mysqld_safe,
but I can't connect:
# ps -aux| grep mysql
Warning: bad syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html
root 3650 0.0 0.1 2276 664 ? S ...
|
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 server.
mysql_real_connect
| |
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 alpha)
so I deinstall mysql5-server and mysql5-client
And then I install mysql41-server and mysql41-client on FreeBSD 5.3 by
ports
but now , mysql is not workable
|
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
connect from php code, it told me that "can not connect to local mysql
through /tmp/mysql.sock. /tmp/mysql.sock is my sock file to connect and
permission is set good. when I add phpinfo() to my php code, it show me
that mysql lib php uses is 4.1.X,...
|
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 server / port. I get back a garbled
message:
5.0.18-standard§}WxyuadT,☻V6F?J5i1YMT=
Should this be garbled ? or is there a problem ?
|
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 quite a bit, but can't
quite figure it out still.
I am getting MySQL Error Number 2003 "Can't connect to MySQL server on
'server'. I know that the server is there because I can ping it. I am
also running a webserver from that computer and I am...
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |