vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Remote connection to a MySQL database (https://vborg.vbsupport.ru/showthread.php?t=49951)

dejoslav 03-11-2003 10:52 AM

Remote connection to a MySQL database
 
I tried to access my sql database from a different server, but it doesn't work. Didn't get any error/warrning messages... just a blank page...

I heard that I need to add a user in mysql.db file or something?! Could anyone explain that to me?

filburt1 03-11-2003 12:54 PM

Ask your host to grant a given user remote access rights. Not all hosts support this but many do.

DrkFusion 03-11-2003 01:09 PM

To access you database remotly, your host must change or add how a user will access the database. Usually its localhost, but now you will have to add the url. It should work after that has been modified. On one of my databases its set with full address through out the whole database so extra users will not have to be added.

dejoslav 03-11-2003 01:12 PM

Can you tell me what exactly I need to do? I have root access and everything...

DrkFusion 03-11-2003 01:45 PM

You can try adding a new user, and setting the hostname for that user to the adress of your site.

If you wish I can explore the way my host does it. When I used to administor fully my database I would do that and it would work.

I did a quick search in the mysql documentations at mysql.com but common keywords did not bring anything up useful. I will ask my host though if you wish.

dejoslav 03-11-2003 01:49 PM

Thanks. I've found out that there is a command GRANT that does that...

Now I'll try to figure it out...


All times are GMT. The time now is 11:16 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.00948 seconds
  • Memory Usage 1,709KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete