Installing Bugzilla with a sql database on a different drive - how to connect database? [closed]

StackOverflow https://stackoverflow.com/questions/16969369

  •  31-05-2022
  •  | 
  •  

I'm attempting to install Bugzilla on a server with a MySQL database on it already. The database is on E: (for space) and Bugzilla is on C:. Currently Bugzilla does not have a database associated with it, and the perl checksetup script looks for a drive local database.

How can I attempt to get bugzilla to target the database on my other drive? Is there a line I can change in the initial scripts to do this?

有帮助吗?

解决方案

You tell Bugzilla how to connect to the database server in the localconfig file.

$db_driver = mysql
# The DNS name of the host that the database server runs on.
$db_host = localhost

I believe with MySQL you can also directly connect via a local socket. Be sure to follow the Bugzilla installation instructions for setting up a database, a database user and password for the connection to use. The tables will be set up automatically by Bugzilla's setup scripts.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top