Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
Александр Буш
/
minesite
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 585df6ae
authored
Mar 10, 2013
by
Alex Bush
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mysql
1 parent
4a6a0f77
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
6 deletions
minecraft
minecraft
View file @
585df6a
...
...
@@ -20,12 +20,6 @@ if ( $config->{db_driver} eq 'SQLite' ) {
);
}
elsif
(
$config
->
{
db_driver
}
eq
'mysql'
)
{
my
$dbi
=
DBIx::
Custom
->
connect
(
dsn
=>
"dbi:$config->{db_driver}:database=$config->{db}"
,
user
=>
$config
->
{
db_username
},
password
=>
$config
->
{
db_password
},
option
=>
{
mysql_enable_utf8
=>
1
}
);
my
$dbi
=
DBIx::
Custom
->
connect
(
dsn
=>
"dbi:mysql:database=$config->{db};host=$config->{db_host};port=$config->{db_port}"
,
user
=>
$config
->
{
db_username
},
password
=>
$config
->
{
db_password
},
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment