Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
 
  HOME    TRACKER    MYSQL




Mysql Login Error For Phpbb.


what i am used to do, if i have to select more rows by their id's i write

"SELECT * FROM table1 WHERE id IN (1,2,3,4,5)"

how can i do this via Execution in adodb (http://phplens.com/adodb/) ?

if i pass array, adodb starts complaining, if i implode it, it adds quotes around the string... any help?

$ado -> Execute("select * from table1 where id IN (?)", array(array(1,2,3,4,5)) ) //this does not work:(




View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread
Making Site Login Add Users To Phpbb Database Table
I have a login script for my site that I got off the net and was planning to use, but, I also wanted to make it so that when a user signed up thru the registration form it would also add them to the phpbb database's table. It wasn't discussed heavily from where i got the script but from what was mentioned the encryptions differ which results in a rejected login. Code:

Getting Error #2005 Unknow MYSQL Server Host When Login On PhpMyAdmin
The site was designed by some one else with some documentation on passwords and user name at the database server. So I attempted to login using the documented logins and got the following error

#2005 - Unknown MySQL Server Host

I really don't know what this means. Could it mean that this database server is no longer there?

Login Error
I am trying to login to mysql using the following:

C:mysqlin>mysql -h localhost -u root -p
Enter Password: *********

But I keep getting this error:
ERROR 1045: Access denied for user: 'root@127.0.0.1' (Using password: YES)

What is going wrong? I have set the password correctly.

Login Error
i keep on gettin this error
See i am not sure if i have to fill in the ( -h -u -p )


Its a MySQL Error
This what i done
Type: mysql -h -u -p ... and pressed ENTER
Enter password: i put PASSWORD .... and Pressed ENTER
and this Error pop up ?

ERROR 2005 (HY000): Unknown MySQL server host '-u' (11001)

Login Error User Denied
I get this error trying to login to our new WEB sites MySQL database
Cannot connect to specified instance

MySQL error number 1045
Access denied for user doda@somesite.com (using password YES)
if you want to check the network use ping button

Login Failure (error Code 1045)
I'm trying to connect to my MySQL database with OpenOffice.org Base. Unfortunately it isn't working. I created a new account with PHPMyAdmin.

I just use the OOo wizard to create a connection. While testing the connection I get the error code 1045. I checked the username and password, they are correct. But I still get the message "access denied for user username@localhost.localdomain".

There is no problem login in with PHP.

Phpbb With Mysql
Im going to uss phpbb as my forums but i dont have a clue where to get started. I know i have to create a database with mysql so it can connect, but i need help on how to start the database what should i put in it etc. I think i can use phpadmin, if i'm right. My host provides me with sql database and sql. Can any please help so i can get this working.

MySQL With PHPbb?
Is it enough to just install mySQL on the webbserver for the phpbb-forum to work? Or do I have to create my own database-files with predefined tables too?

MySQL Query For PhpBB
i want to display 5-10 latest phpBB2 posts on my homepage, and i know there are mods for the forum's index page that do similar thing, but i want to do it in my Perl script. I know how to connect to mySQL DB, but I don't know SQL..
could someone help me with mySQL query for X latest posts, so I would get the result containing user name, post topic, post date&time and post text?

MySQL Query Linking OpenCrypt & PhpBB
I understand that this will seem very novice to you all as developers, but I really need some expert eyes on my question because frankly the other forums have offered no real assistance.

I have a customer database system called OpenCrypt installed and running on my website. OpenCrypt has built in features to connect to my mySQL database as to create phpBB accounts similtaneously as general website accounts are created on my website!

Now. I am new to mySQL and am working on getting the correct syntax to work with my phpBB database. The following are my current fields in question:

user_id -> I need these id's to be created sequentially when new rows are added to my table, phpbb_users.

user_regdate -> What date parameters does phpBB read?

Thanks for your help! This is my current simple syntax used to similtaneously add phpBB rows to the table, where %variable% refers to my OpenCrypt fields:

INSERT INTO kylebt_Forums.phpbb_users SET `username` = '%username', `user_password`=MD5('%password%'), `user_email`='%email%'

Help With MYSQL And PHPBB On Server 2003 Standard
Trying to get help with this situation. I have installed PHPBB, PHP (4X) and
MySQL 4.1.

This is how I started out.

1. Installed MYSQL - ran setup - did FULL install - and entered in new
password when requested. MYSQL gave the green light when computer rebooted.
Created new database with CREATE DATABASE XXX; Also installed ODBC from
MYSQL site and created a "SITE DSN" for the ODBC

2. Installed PHP and verfied working and accessible

3. Installed PHPBB per the instructions on the site. Did the permissions as
instructed on config.php and install.php

4. Came to the install screen. Entered the info and password that I did with
MYSQL installation (Root was the username)

NOW SAYS - CANNOT CONNECT TO THE DATABASE. I do not know what to do at this
point.

Phpbb
I am trying to set up PHPbb on my website using MySql 4.1 for my forums and I can't figure out how to create a new database and connect the database to the actual site and also I need to locate my:

1 database name
2 username
3 password

Can't Login To MySQL
I am preparing a new server (FreeBSD, MySQL 4.1.1) and I can't connect to the server. I was able to connect for a little while, and I set the root passwords and removed the guest accounts. Things were going fine until I shutdown mysql and restarted it a bit later (can't remember what exactly I did in the meantime). Code:

Login Mysql 4.1.8
I have Mysql 4.1.8 installed in my computer and when i try to login it give me a message like the text below:

===============================================================
C:PROGRA~1MySQLMYSQLS~1.1in>mysql -h locahost -u root
ERROR 2005 (HY000): Unknown MySQL server host 'locahost' (11004)

C:PROGRA~1MySQLMYSQLS~1.1in>mysql -h 127.0.0.1 t -u root
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
================================================================

Login To MySQL
I've got PHP and MySQL installed, tests run good. But when I want to give a command the following error is printed:

Warning:
mysql_connect() [function.mysql-connect]: Access denied for user: 'mayadhiisa@localhost' (Using password: YES) in D:My DocumentsMy Virtual Websmysql_send.php on line 18
Database Selected:
Query: create database baandd
Results
Error 1044: Access denied for user: '@localhost' to database 'baandd'

Whatever I do, "I got access denied for user", Where can my settings or query be wrong?

MySQL Login
Does anyone know why I CAN login to mysql from a shell but can NOT from a PHP app using the same user/pass?

Cant Login To MySql
dont know what happened, but on webmin, i selected a database, i clicked user permissions, changed the option localhost to any.

Cannot Login To Mysql
How does root login to mysql?wanted to create a user called mysql with password=mysql for my webapps..how do i do that?

PHPBB Forums
I have MySQL 4.0 installed on my computer. I tried to install the PHPBB forums and set it to MYSQL 4.0, but i dont know a valid host name, or database name, database username, and password. How can i figure these things out.

How To Read Phpbb
php file is loaded as codes on windows, but when u upload it on web u get the codes showed as image and stuff, so my question is, when using local host (windows xp) what prog or how i can see the php files not as codes/source when opening but as image or table or whatever.

Phpbb And Firefox
I am developping a forum using phpbb 2.0.17 (the lastest version). My forum url is www.qnhl.com. The problem is the following:
When you make a new post in a specific forum, this forum should show the "new post" icon instead of the "no new post" one.

But it's not the case in Mozilla firefox. The "no new post" is always there. What's the problem? Anything related with cookies? Note that I don't have this problem with Internet Explorer.


Phpbb Forum
I'm experiencing some problems trying to get my phpbb forum to work with mysql. I'm running the newest version of apache, and php is installed and working, but I'm not quite sure about what I have to do with the MySQL database part to get it working. If anyone knows of any tutorials or anything I would be grateful
Just for reference: I'm a newb when it comes to both php, and MySQL.

How To Set Up Mysql For A Login Database?
On my website i need a login menu which will being using php and mysql. The only bad part is that i dont know how to set mysql up for this. Maybe you guys could help me with this or give me a link to a website that could help me with this.

Login Mysql W/out Password
by entering a random string as the Username on the entry page on phpMyAdmin without password, the person will have access to the database, with privilege to edit database but not creating.

if someone enters a recognized Username (ie: root), phpMyAdmin will promp for the actual password.

the user table in mysql have 2 sets of users (root and another) on 4 rows, both with password set to localhost and % rows. that's all the info I can supply, and my question, obviously, is how to stop random string Usernames from entering the database..?  

Remote MySQL Login With Os X
I need to access my MySQL server running on an os x (panther) machine remotely from another machine running os x. Ive enabled SSH in system preferences but i dont really know where to go from there. ive been tralling the web for a good while now and i cant really find any info to help me. I'd like to use a gui client to login like CocoaMySQL.

Mysql Major Login
i can't login
Iam using centOs 4
mysql 5.(newest version)
when i login it returns me to the command prompt line as if noting happend
The server is on
the client is on
even the developers are on
I have tried every thing available out there
nothing works
I type in this
[root@localhost ~]# mysql -uroot
and this comes out
[root@localhost ~]#

Phpbb: Username Already Taken After Deleting
I tested to delete phpbb user where user_post = 0.
After deletion, the query exe as normal.
But when I start to register, the phpBB immediately shows

Sorry, but the username is already taken.

instead of showing registeration form.

PhpBB Slow Loading
my site runs quickly except when a user hits forum (allready signed in or logging in) to login to the forums it takes 10x as long to get to the forums as it does the rest of the site, once in the forums its ok and runs as normal,is there any settings in SQL that can speed this up? or is there another problem.

PHPBB Can't Connect To Database
So i'm running Apache, PHP, and MySQL 4.x/5.x (i've attempted both) on Win2k.
When i try to install phpBB2 it says it can't connect to the database

Connection to database
You have not established a connection to MySQL 4.x.
ERROR: Access denied for user 'ODBC'@'localhost' (using password: NO)

Your database was not found.
ERROR: Access denied for user 'ODBC'@'localhost' (using password: NO)

Editing Not Working In PhpBB
After transfering my forum from one server to another, editing stopped working. You can go to phpBB's edit link, but when you try to edit the post nothing is changed. Topic titles can be edited, but nothing else can (including uploaded files with the attachment MOD).

If I edit it directly from phpMyAdmin it will work fine, but editing through the forum does nothing. On the last server it worked fine, although I'm pretty sure on my last server I was running on an older version of MySQL (3.x). On my new host (globat) I'm on MySQL 4.1.Nothing was changed in phpBB's scripts since the transfer, so nothing would have taken away the ability to edit post text. If anybody knows what is stopping these things I would greatly appreciate the help, since I've been looking for a solution for quite some time now.

Seprate Database For PHPBB
I have a databse for the main website that will contain ~15 tables.
Are there any advantages/disadvantages to merging and seprating and what is generally the best way to go?
I'm also interested to hear about (other) situations in wich you would choose for an additional database to increase my insight in the subject.

Help Rewriting A Slow Phpbb Query
I have a "glance" or "Recent Topics" list on my forums that have become fairly complex. I modified an already feature rich glance mod to allow users to select individual forums to exclude from showing topics in the list. As well when users are members of certain forum groups, they see topics from the group forum in the list, and they are highlighted a different colour.

The main SQL query to create the list often is showing up in the MySQL Slow_query log and I'm pretty sure is the main cause for the page loading slow.

I am no mysql Guru, so I thought I would seek the advice of some to improve or totaly rewrite this slow query.

PHP

$sql = "SELECT     
    f.forum_id, f.forum_name, t.topic_title, t.topic_id, t.topic_last_post_id, t.topic_poster, t.topic_views, t.topic_replies, t.topic_type,
    p2.post_time, p2.poster_id,
    u.username as last_username,
    u2.username as author_username
FROM "
    . FORUMS_TABLE . " f, "
    . POSTS_TABLE . " p, "
    . TOPICS_TABLE . " t, "
    . POSTS_TABLE . " p2, "
    . USERS_TABLE . " u, "
    . USERS_TABLE . " u2                
WHERE
    f.forum_id NOT IN (" . $forumsignore . $glance_recent_ignore . ")
    AND t.forum_id = f.forum_id
    AND p.post_id = t.topic_first_post_id
    AND p2.post_id = t.topic_last_post_id
    AND t.topic_moved_id = 0
    AND p2.poster_id = u.user_id
    AND t.topic_poster = u2.user_id
ORDER BY t.topic_last_post_id DESC";
$sql .= ($glance_recent_offset) ? " LIMIT " . $glance_recent_offset . ", " . $glance_num_recent : " LIMIT " . $glance_num_recent;


The "NOT IN" list varies per user, but here is an example:
NOT IN (77,75,76,25,26,37,63,64,66,67,67,1,25,26,37,70,28,75,76,78)

Tables Import PhpBB/phpNuke
My existing site is ok but limited and I'm now at the point where I would like to use a CMS, but I want to import all the old sites membership and comments into the new install.

I HAVE A SCRIPT THAT WILL DO THIS called. phpbb_nuke_conv.tar should anyone else ask.

but for this to happen the phpBB data must be in the same database where the nuke data resides, ie moving the phpBB tables over to the nuke SQL database. The prefixes are different so there no problems there, could someone please point set-by-step for this proceedure.

I'm sure it only a few buttons and it would save me an ENOURMOUS amount of time reading about a subject I would rather not.

Can't Login To MYSQL Command Line Client
I can't login into the MYSQL command line client, when I try to type in a password my computer just beeps and then closes the window. I was wondering if someone could tell me where I do go to get this password?

Advice Needed Login/registration System With MySQL 5/PHP
I want to setup a login/registration system for my website with MySQL 5 / PHP. Most of the job should be the standard stuff: register form, login form, forgot password form, etc.

Can anyone advice me how to begin ?

Are there any good tutorials which i should use or are there freeware or cheap commercial tools which i should use ? Or maybe you recommend me to an awesome programmer you know who does this job at low cost ?

- a MySQL/PHP Newbie

MySQL GUI Tools Query Browser/Admin Login
I've just installed the GUI tools so I can get a little help with queries and table design, and I am not able to log into the administrator or the query browser. The login screens show up, I enter all the correct data, then the form grays out except for the cancel button and does nothing. Doesn't even eat up any system resources, so it doesn't even look like its trying.

I've turned off all firewall settings in case that might have cause the issue and it still doesn't work.

A Seprate Database For PHPBB Or Merge The Tables With The Site?
I have a databse for the main website that will contain ~15 tables. Are there advantages/disadvantages to merging the phpBB tables with the one from the site or seprating the tables sets in 2 different databases?

Login
I'm having a problem and I guess it's something wrong with my MySql database. I have a website where users need to register in order to login.
Everything was working fine, but recently my webhost had some upgrade and my folder changed from "home2" to "home", but I'm not sure that this is the problem.
Now, the new accounts are not created. The register form works fine, and appearently the account is created, but if I click to My Profile the data I completed is not there. Only the password appears but it's not the password I completed in the register form, it's the password from my Database.I also uploaded the website to a different webhost, but when I try to access the homepage, it shows like I'm already logged in, although I didn't and at the profile page, again, only a password... the database password.

Login Box
I have a script that uses MySQL and for some reason the first time it loads per session I get the prompt box to login to MySQL? It seems to be a session based but is just weird any ideas what is causing this?

CANNOT LOGIN
The database is accessible just fine through PHP and works great. When typing "mysql" inside a putty console I get:
"-bash: mysql: command not found"

I used to type "mysql -u user -p -h localhost" to log in just fine. Now mysql is not found?

Can't Login To Database....
I've been having a bit of toruble with mysql. I am creating a new user w/ a passwords, granting privileges, and then attempting to login:

Password Login
i have a simple java code for a password login but it only allows one user name and password, do i need mysql to have more users and i also want a registration page.

Login Problems
I have a login problem> I cannot log onto mysql. I get Error 1045 (28000): Access denied error.

ODBC: Login
This is kind off topic how to connect to ODBC.

<?php
$server = "real_dsn_server:3180";
$user = "root";
$password = "admin4";
$dbnameID="info";?>

<?php
$conn=odbc_connect($server, $user, $password);
$sql="SELECT * FROM $dbnameID";
$result=odbc_exec($conn,$sql);
echo "SUCCESS";?>

I got the following error:
Warning: odbc_connect() [function.odbc-connect]: SQL error: [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified, SQL state IM002 in SQLConnect in odbc_log.php on line 10

Warning: odbc_exec(): supplied argument is not a valid ODBC-Link resource in odbc_log.php on line 12
SUCCESS

Why is that? Even though I can DSN in control Panel>ODBC on windows XP Pro and it said successfully.

Simple Login
this is so easy but i can't seem to ascertain what is wrong. i'm making a 'random quote' database. this is my php (ver 4.3.11);

<?php
$link = mysql_connect('localhost', 'root', 'calvin');
if (!$link) {
die('Could not connect to server : ' . mysql_error());
}

$db_selected = mysql_select_db('quotes', $link);
if (!$db_selected) {
die ('Could not connect to database : ' . mysql_error());
}
?>

why do i get the following er msg?

Warning</b>: mysql_connect(): Client does not support authentication protocol requested by server; consider upgrading MySQL client in <b>C:ArtizanrookhavenBHconnection.php</b> on line <b>2</b><br />

Could not connect to server : Client does not support authentication protocol requested by server; consider upgrading MySQL client

Cannot Login At Mysql5
I just installed mysql5
I am able to connect to it using telnet and mysqladmin

But when I try to login the username or password is not correct.

I installed it with the installer and set a new password there.
I thought I would have set the password for the root user but that is not working.

Can someone tell me what user and password I should use when i login the first time ?

Login Problem
New error message when I try to login:

MySQL Error Nr. 1130

Server side? I edited my.cnf commenting the line "bind_address=127.0.0.1" now I get this error.

Administrator Login
I am really new and I am having a problem logging into the Admin Tool. What is the username and password ? This is my first time trying to login.

Eventum Login
I've just installed eventum-1.6.1 on my server (WinNT4.0). All worked fine. Now I'd like to login.


Copyright © 2005-08 www.BigResource.com, All rights reserved