Cannot install phpopenchat
Brought to you by:
letreo
I cannot install phpopenchat on my site, I keep getting
a "error connecting to database"
The domain is www.lpcdaust.com, the mysql database
name is lpcdaust_phpopenchat, localhost is the
database server, and the database user is lpcdaust_jeff.
So, I put lpcdaust_jeff in the username, the password
for the username in password, and localhost in the
database server. What am I doing wrong?
Please help. TIA
Logged In: YES
user_id=1149577
Are you trying to get it to connect to mysql? if so, it
needs the mysql info I think.. I'm new to php but I was
having a very similar issue and by changing the login info
to the mysql info, I was able to install it, then I could
login as operator (allegedly, though I cannot do that yet!!
I'm stuck on not being able to log in .
The install went great.. (once I updated my odbod or
whatever it is..lol. )
I would say, try to use mysql user and pass ..
Sometimes you can't use localhost but usually I think it's
ok.. You need the server's host name? My Mysql is on
yahoo's for example and they said I have to use mysql to
connect.. so, that's my host. I can't use localhost. Good luck!!
xts
Logged In: YES
user_id=1149577
I decided to add how mine looks .. I hope this helps.
xts
(the host depends on your server's settings if you are using
someone elses mysql. I am so I had to specify.)
/*
* database account settings
*/
define('DATABASE_HOST', 'mysql');
define('DATABASE_USER', 'mysqlusername');
define('DATABASE_PASSWORD', 'mysqlpassword');
define('DATABASE_TABLESPACE', 'poc');/* The value 'poc' is
an example only!
* a tablespace contains
your sql-tables
* MySQL calls it
'database', so you have to enter the name of your database here.
* If you don't have
such a tablespace already, MySQL users have to do:
* # mysqladmin create
DATABASE_TABLESPACE
* # mysql -u
DATABASE_USER -pDATABASE_PASSWORD DATABASE_TABLESPACE <
/your/path/to/phpopenchat/db.schema
*/
define('DATABASE_TABLE_PREFIX', 'poc_');
And further reading for some possible other reasons you
might not be able to connect
http://dev.mysql.com/doc/mysql/en/Can_not_connect_to_server.html
Of course, here is the root directory to the mysql manual..
http://dev.mysql.com/doc/mysql/en/index.html
Good luck!
xts