Hi all,

I am really new to Osticket, I've downloaded the latest version and proceeded to setup, however I seem to have an issue connecting to the database during the setup process.

I have struggled with it for a few hours now and can't resolve the problem.

Please can someone help ?

The message I get from the Osticket installer states

Unable to connect to MySQL server. Access denied for user: 'dbo495769641@localhost' (Using password: YES)

I have written some php to test these settings from the root Osticket directory on the server as follows and this executes fine saying all is OK.

<?php

mysql_connect("localhost", "dbo495769641", "1234567") or die(mysql_error());

echo "Connected to MySQL";

mysql_select_db("db495769641") or die(mysql_error());

echo "Connected to Database";

?>

I've also created a php.ini file as follows in the osticket home directory which is being picked up

mysql.default_socket = /tmp/mysql5.sock

mysql.default_port = 3306

The hosting company is 1and1, not sure if that helps ...

The database details they provide are as follows

dname = db495769641

db user= dbo495769641

password = 1234567

hostname = localhost:/tmp/mysql5.sock

I am using

PHP Version 5.2.17

Mysql version 5.1

Any ideas where I can going wrong.

Thanks in advance.

Rich

Write a Reply...