wineos Member Licensed User Longtime User Feb 5, 2016 #1 Can anyone teach me, how to connect to MySQL database, which can only be connected in localhost? That MySQL database is on my Web Hosting server, which I cannot add any files and run any files in the root. Thank you so much
Can anyone teach me, how to connect to MySQL database, which can only be connected in localhost? That MySQL database is on my Web Hosting server, which I cannot add any files and run any files in the root. Thank you so much
G GudEvil Member Licensed User Longtime User Feb 5, 2016 #2 https://www.b4x.com/android/forum/threads/connect-android-to-mysql-database-tutorial.8339/ -m Upvote 0
KMatle Expert Licensed User Longtime User Feb 5, 2016 #3 wineos said: which can only be connected in localhost Click to expand... Either MySQL runs on a local machine ("at home") or on a server outside. So what do you want to do exactly? Upvote 0
wineos said: which can only be connected in localhost Click to expand... Either MySQL runs on a local machine ("at home") or on a server outside. So what do you want to do exactly?
DonManfred Expert Licensed User Longtime User Feb 5, 2016 #4 KMatle said: Either MySQL runs on a local machine ("at home") or on a server outside. So what do you want to do exactly? Click to expand... I interpreted his whish like this: He has an Hosting at some internet provider. On this hosting he can use (for ex) php to connect to the database which is accessible through localhost. He want to access this database from his device (man in the middle needed; php, RDC(2)) In fact seems that the database is not accessible from outside due to restrictions of his hoster. Upvote 0
KMatle said: Either MySQL runs on a local machine ("at home") or on a server outside. So what do you want to do exactly? Click to expand... I interpreted his whish like this: He has an Hosting at some internet provider. On this hosting he can use (for ex) php to connect to the database which is accessible through localhost. He want to access this database from his device (man in the middle needed; php, RDC(2)) In fact seems that the database is not accessible from outside due to restrictions of his hoster.
KMatle Expert Licensed User Longtime User Feb 5, 2016 #5 DonManfred said: n fact seems that the database is not accessible from outside due to restrictions of his hoster Click to expand... Yep. Now I see. I'm at 1&1 and never tried to connect directly to one of my db's (I only use php -> localhost) which I find safer anyway- Upvote 0
DonManfred said: n fact seems that the database is not accessible from outside due to restrictions of his hoster Click to expand... Yep. Now I see. I'm at 1&1 and never tried to connect directly to one of my db's (I only use php -> localhost) which I find safer anyway-