Jump to content
xisto Community
Sign in to follow this  
epox

Mysql Host Adress how do i connect

Recommended Posts

helo! hou do you? i need somebody post the data for acces my mysql database from my client. thanks a lot!also i need the alter code for add a foreign key to a column on a table, thanks a lot :P

Notice from KuBi:
Moved to the appropriate section. Don't put questions in the tutorial section please.
Edited by KuBi (see edit history)

Share this post


Link to post
Share on other sites

So thats not how to connect to a mySQL server from your PHP scripts is it?I recommend u use phpmyadmin (a tool you can probably find under domain.com/phpmyadmin , unless it is offcource not installed)... In that interface you can easily alter you table's !

Share this post


Link to post
Share on other sites

Moved to the appropriate section. Don't put questions in the tutorial section please.

I don't think this is the 'appropriate section'. Anyway...
epox, it depends on what your 'client' is (by which I'm assuming you mean some form of application that requires MySQL database usage). I think you need to provide a little more detail before anyone can really help you.

Share this post


Link to post
Share on other sites

actually, you have't give any information about you client, it may need more to make other help you. anyway, following is some suggest :

for windows desktop client like vb, vb.net, c++, delphi .. etc. you may download mysql odbc driver from mysql.com or click here.for php, thats already have driver bundle with it, go tutorial forum, there have a thread let you know how to do it.
and, for the code about alter database table, you can refer to , or mysql mannu or here.


- hope this help

Share this post


Link to post
Share on other sites

u can connect to urs sql database in two ways:1)path the database as "Localhost"2)or by using port,used where u wanna to connect to external mysql.suppose urs database is placed at http://www.mysql.com/ and the port is 3306.now in order to connect to database u enter the full sitename where urs database is placed alongwith the port in this way:PATH TO DATABASE: http://www.mysql.com/

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.