Welcome, Guest. Please Login or Register.
November 27, 2024, 02:38:41 AM
Home Help Search Log in Register
News: If you are still using YaBB SE, please consider upgrading to SMF as soon as possible.

YaBB SE Community  |  English User Help  |  English Help  |  line 351? « previous next »
Pages: [1] Reply Ignore Print
Author Topic: line 351?  (Read 674 times)
mighest
Noobie
*
Posts: 12


Damn Llamas... my first day and 3 points deducted

WWW
line 351?
« on: December 10, 2003, 06:59:13 PM »
Reply with quote

YaBB SE Version: 1.5.4
PHP Version: 4.3.2
MySQL Version: 3.23.x
Server Platform: Unix, Linux, or BSD
Link to Forum:

Problem Description:
Hi, I'm new on this, and I've been trying to install it... it works perfectly until I reach to the part where I put all the info needed for the mysqul thing...
This is what appears:

Warning: mysql_connect(): Access denied for user: 'forum@localhost' (Using password: YES) in /home/mighest/public_html/forum/install.php on line 351

Cannot connect to database server with given data!

Please check the information you provided, and then try again.

I've created the database, created users and granted them permissions, I don't know what could be wrong...
This is my phpinfo:
http://www.elan-fans.com/phpinfo.php

I saw that somebody asked for it before..
Could anybody help me please? :-[
Thank you in advance
Logged
[Unknown]
Global Moderator
YaBB God
*****
Posts: 7830


ICQ - 179721867unknownbrackets@hotmail.com WWW
Re:line 351?
« Reply #1 on: December 10, 2003, 07:14:01 PM »
Reply with quote

Did you try doing a:

FLUSH PRIVILEGES;

After the GRANTs?

Might also try a mysqladmin -uroot -p reload.

-[Unknown]
Logged
mighest
Noobie
*
Posts: 12


Damn Llamas... my first day and 3 points deducted

WWW
Re:line 351?
« Reply #2 on: December 10, 2003, 07:20:03 PM »
Reply with quote

I'm sorry but I don't understand this:

Quotemysqladmin -uroot -p reload.

I'm really very new at this, I'm not a programmer or anything... the php and mysql were already installed... so I don't know. :-[
If you could explain me a little further I would really  appreciate it
Logged
[Unknown]
Global Moderator
YaBB God
*****
Posts: 7830


ICQ - 179721867unknownbrackets@hotmail.com WWW
Re:line 351?
« Reply #3 on: December 11, 2003, 03:19:43 AM »
Reply with quote

After you create new users in MySQL, you need to do a "FLUSH PRIVLEGES;" query.  In some cases, you need to do a "mysqladmin reload" command too.  Just:

Open a shell.
Type "mysqladmin -uroot -p reload"

You will be prompted for the password for the "root" user.... after which, it may work as expected.

-[Unknown]
Logged
mighest
Noobie
*
Posts: 12


Damn Llamas... my first day and 3 points deducted

WWW
Re:line 351?
« Reply #4 on: December 31, 2003, 05:07:18 AM »
Reply with quote

Thanks, solved it
Logged
Pages: [1] Reply Ignore Print 
YaBB SE Community  |  English User Help  |  English Help  |  line 351? « previous - next »
 


Powered by MySQL Powered by PHP YaBB SE Community | Powered by YaBB SE
© 2001-2003, YaBB SE Dev Team. All Rights Reserved.
SMF 2.1.4 © 2023, Simple Machines
Valid XHTML 1.0! Valid CSS

Page created in 0.036 seconds with 21 queries.