Symbianize Forum

Most of our features and services are available only to members, so we encourage you to login or register a new account. Registration is free, fast and simple. You only need to provide a valid email. Being a member you'll gain access to all member forums and features, post a message to ask question or provide answer, and share or find resources related to mobile phones, tablets, computers, game consoles, and multimedia.

All that and more, so what are you waiting for, click the register button and join us now! Ito ang website na ginawa ng pinoy para sa pinoy!

How to access mysql database from another computer?

sakinyaba

Apprentice
Advanced Member
Messages
61
Reaction score
6
Points
28
Mga sir gusto ko i access ang database ng laptop ko gamit ang ibang laptop(client), tanong ko lang possible ba na ma achieve ito kahit hindi kami gumamit ng cable connection at wifi nalang ang gamitin? At kung oo baka pwede nyo ako bigyan ng guide kung paano. (XAAMP, C#, WINDOWS& 64bit). Pasensya na sa noob question IT student ako na konte ang kaalaman sa programming.
 
Mga sir gusto ko i access ang database ng laptop ko gamit ang ibang laptop(client), tanong ko lang possible ba na ma achieve ito kahit hindi kami gumamit ng cable connection at wifi nalang ang gamitin? At kung oo baka pwede nyo ako bigyan ng guide kung paano. (XAAMP, C#, WINDOWS& 64bit). Pasensya na sa noob question IT student ako na konte ang kaalaman sa programming.

why use access? u can use mysql
 
gamit ka ng MySQL connector/ODBC 3.51 bro, tapos punta ka sa http://localhost/phpmyadmin {Privileges} ilalagay mo yong User(domainname) & Host(IP ex.) user="mypc" host="192.168.1.3"
 
Bale bro dapat connected yung dalawang pc sa isang network diba? Pwede bayun kahit walang cable connection?
 
Bale bro dapat connected yung dalawang pc sa isang network diba? Pwede bayun kahit walang cable connection?

--- Mas madali kapag Wireless kasi wala ng ibang kakalikutin sa program na lang... Nagawa na to ng pinsan ko... Kaso sa MySQL workbench at C#.
 
Pano bro? C# at mysql gamit ko
 
Pwede ba yan basta same lan/wlan network. browse mo gamit IP instead localhost. or mag port forward ka para mapublic yung xampp server mo
 
para mas madali gamit ka ng SQLYog mas maganda syang pang manage ng database and para makaconnect ka dun sa database ng client mo kailangan nakaport forward yung client mo kahit wala ka na i setup sa gamit mo na laptop as long as naka port forward yun makakaconnect ka using SQLYog
 
add mo lang yung sa connection yung IP address ng server mo.
ganito din saken with C# and MySQL Workbench.

ngayon naka PHP at MySQL naman ako and I'm accessing the server from different pc.
connection string is the key. set mo lang maayos yung connection string mo esp. yung IP address, much better if gawin mong static IP ng mga PC para di mag iba2 mga IP nila.

tapos properly set yung user at password nd server mo sa connection string mo. At as long as you are on the same NETWORK with your server pwede mong maaccess yung server MySQL mo.
 
Ano gamit mong server? XAMPP?
May config lang na gagawin sa xampp para maka connect ka sa mysql remotely, kahit wifi lang gagana yun. Send mo sakin teamviewer mo, turo ko sayo.
 
Last edited:
Public connectionString As String = "server=[Computer Name]; user id=root; password=[password mo kung nilagyan mo]; database=[name ng database mo]; Allow Zero DateTime=True"

Note: Tanggalin mo yung mga [ ] brackets. Huwag din gagamit ng IP Address kasi pa-palit-palit ang IP Address. Computer name ang gamitin mo kaya lahat ng mga computers na nakakabit sa network mo ay dapat meron unique name.
 
Naputol kasi si Symbianize ng ilang taon. Di bale. Baka sakaling makatulong sa iba if ever may magtanong. hehehe.
Yes laking help ng symbianize sa programming journey ko mula novice to senior dev hehe, salamat
 
Server=myServerAddress;Port=3306;Database=myDataBase;Uid=myUsername;Pwd=myPassword;

lagay mo sa connection string mo
 
need mo open ung firewall mo sa serving pc specific ports which is 3306 tapos oks na yan.

palitan mo ung server={ipofserver}
 
Back
Top Bottom