PB Database access over the net?

Just starting out? Need help? Post your questions and find answers here.
UUICEO
User
User
Posts: 57
Joined: Tue Mar 10, 2009 9:09 pm
Location: Shakopee, Minnesota. USA

PB Database access over the net?

Post by UUICEO »

I've been trying to figure out how to use PB's database commands to connect to a hosted database over the net. Is this even possible or do I need to use a .dll like MYSQL.dll.
Windows 7 Ultimate x64 / PureBasic 5.21 LTS / ProGUI Platinum / PureVision / http://www.linkedin.com/groups/PureBasi ... =&trk=tyah
User avatar
Bisonte
Addict
Addict
Posts: 1313
Joined: Tue Oct 09, 2007 2:15 am

Re: PB Database access over the net?

Post by Bisonte »

Possible with mysql odbc drivers.

Examples around the forum.
PureBasic 6.21 (Windows x64) | Windows 11 Pro | AsRock B850 Steel Legend Wifi | R7 9800x3D | 64GB RAM | RTX 5080 | ThermaltakeView 270 TG ARGB | build by vannicom​​
English is not my native language... (I often use DeepL.)
infratec
Always Here
Always Here
Posts: 7619
Joined: Sun Sep 07, 2008 12:45 pm
Location: Germany

Re: PB Database access over the net?

Post by infratec »

Hi,

with all native inbiuld databases it's possible to access databases on other servers.
Only SQLite can not :wink:

MySQL is not a dadtabase you can access directly with PB commands.
(Only via ODBC)

If you need MySQL, than you can use a wrapper for the mysql.dll.
But be sure that your program will respect the MySQL license.

Bernd
Post Reply