Griffith - media collection manager
May 23, 2012, 07:08:56 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Please check ask.griffith.cc and wiki.griffith.cc before asking questions.
 
   Home   Help Search Login Register  
Pages: [1]   Go Down
  Print  
Author Topic: Sharing a database  (Read 969 times)
acki
Newbie
*
Offline Offline

Posts: 3


View Profile
« on: December 21, 2009, 02:11:33 PM »

Hello,

is there a way to share a database;
eg to save the database on a shared harddisk so different people can access it from their computer?

Thanks
Logged
mike
Global Moderator
Hero Member
*****
Offline Offline

Posts: 996


View Profile WWW
« Reply #1 on: December 21, 2009, 10:22:08 PM »

The best way to share a database is to use an external database like MySQL or PostgreSQL.
But you could put the database file on a network share, too. Use "griffith --home <path to the network share>" when
you start griffith with a shared configuration.
Logged
red-dust
Newbie
*
Offline Offline

Posts: 1


View Profile
« Reply #2 on: January 02, 2010, 12:21:07 AM »

hello
I had configure my database with mysql. It's works on the local network but i can't access with another computer.
I try server : localhost or 192.168.1.2 (ip server) but it said :Connexion à la base de données impossible.
Sorry for my english !!!
Thanks
Logged
mike
Global Moderator
Hero Member
*****
Offline Offline

Posts: 996


View Profile WWW
« Reply #3 on: January 02, 2010, 08:03:41 PM »

I'm not a professional mysql user but mostly there are two problems:
1. the server listens only on the localhost ip address (127.0.0.1)
2. the firewall denies access to the mysql port

To solve this try to change the MySQL configuration file my.conf and set the bind-adress to the IP address of your
pc (I think it should be 192.168.1.2). Restart the MySQL server.
To solve the second problem you have to add a firewall rule to open the MySQL port for other pcs in your network.
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2006-2007, Simple Machines Valid XHTML 1.0! Valid CSS!