soltuyo
Usuario Novato
Usuario Novato

Warning: mysql_connect(): Access denied for user 'db_reblog'@'192.168.0.62' (using password: YES) in /home/webcindario/r/e/reblog/documento.php on line 7 No pudo conectar con MySql Server: Access denied for user 'db_reblog'@'192.168.0.62' (using password: YES)

mi base de datos es reblog

usuario reblog

el servidor es  mysql.webcindario.com

Alguien podria especificarme a que archivo(s) tengo que ir y que poner en la modificacion a estos si es de manera literal mejor. Gracias de antemano por su respuesta y ayuda

Edgardo Ramos

Avatar Image
@man / @woman
@man / @woman
Escrito originalmente por soltuyo

Warning: mysql_connect(): Access denied for user 'db_reblog'@'192.168.0.62' (using password: YES) in /home/webcindario/r/e/reblog/documento.php on line 7 No pudo conectar con MySql Server: Access denied for user 'db_reblog'@'192.168.0.62' (using password: YES)

mi base de datos es reblog

usuario reblog

el servidor es  mysql.webcindario.com

....

Hay una contradicción: ¿ cual es el usuario db_reblog o reblog?

El archivo documento.php antes de la línea 7 debe de tener la configuración de la conección a la base de datos (o en algún archivo incluido).

soltuyo
Usuario Novato
Usuario Novato

CONEXION DE BASE DE DATOS ARROJA ESTE ERROR

Warning: mysql_connect(): Access denied for user 'db_reblog'@'192.168.0.62' (using password: YES) in /home/webcindario/r/e/reblog/documento.php on line 7 No pudo conectar con MySql Server: Access denied for user 'db_reblog'@'192.168.0.62' (using password: YES)

mi base de datos es reblog

usuario reblog

Gestionxls, gracias por  arrojar el salvavidas, y a cualquiera que quiera ayudar en general. Mira, el archivo documento.php, antes de la linea siete que especificas, contiene lo siguiente:

<?php
$mysql_srv= 'mysql.webcindario.com';
$mysql_db= 'db_reblog'; // nombre de la base de datos
$mysql_user= 'db_reblog'; // nombre de usuario
$mysql_psw= 'db_*****'; // password de la base de datos

El archivo config.php contiene lo siguiente, y en rojo puse lo que concierne a la informacion de la base de datos:

<?php
// vim: ts=4 foldcolumn=4 foldmethod=marker
/**
 * Global configuration file.
 *
 * This file is part of Reblog,
 * a derivative work of Feed On Feeds.
 *
 * Distributed under the Gnu Public License.
 *
 * @package Refeed
 * @license http://opensource.org/licenses/gpl-license.php GNU Public License
 * @author Michal Migurski <[email protected]>
 * @author Michael Frumin <[email protected]>
 * @copyright ©2004 Michael Frumin, Michal Migurski
 * @link http://reblog.org Reblog
 * @link http://feedonfeeds.com Feed On Feeds
 * @version $Revision: 1.16 $
 */

/*---------------- Global settings ----------------*/

/**
 * Your local timezone, if different from the server's.
 *
 * Set to a city in your timezone, chosen from the lists
 * linked at http://www.php.net/manual/en/timezones.php
 */
define('REBLOG_TIMEZONE', '');

/**
 * Keyboard shortcuts/navigation enabled; boolean true/false.
 */
define('REBLOG_USE_KEYBOARD', true);

/**
 *  Database connection, like "mysql://username:reblog/reblog"
 */
define('REBLOG_DSN', "mysql://reblog:[email protected]/reblog");

/**
 *  Database table containing feeds
 */
define('REBLOG_FEEDS_TABLE', 'feeds');

/**
 *  Database table containing items
 */
define('REBLOG_ITEMS_TABLE', 'items');

/**
 *  Database table containing feed user-specific data
 */
define('REBLOG_FEEDS_USERDATA_TABLE', 'feeds_userdata');

/**
 *  Database table containing item user-specific data
 */
define('REBLOG_ITEMS_USERDATA_TABLE', 'items_userdata');

/**
 *  GUID prefix for item id's in the generated RSS/Atom feeds.
 */
define('REBLOG_GUID_PREFIX', 'tag:refeed/');

/*---------------- User-specific settings ----------------*/

/**
 *  What kind of authentication to use?  This determines how authentication works,
 *  and how a user's ID is determined.
 *
 *  Default is 'RF' for refeed (depends on the HTTPAUTH stuff below).
 *  Other types available are:
 *  'MT' for Movable Type; user ID is same as in MT
 *  'WP' is for WordPress; user ID is same as in WP
 *  
 *  Change this setting *only* if you need to have more than one
 *  separate Refeed user account (ie. set of feeds).
 *
 *  Note: for types MT and WP, your refeed tables need to be in the same MySQL
 *  database as your MovableType or WordPress tables, respectively.
 *
 *  See the ACCOUNTS.html file for more info.
 */
define('REBLOG_AUTH_TYPE', 'RF');

/**
 *  Optional HTTP authorization user
 */
define('REBLOG_HTTPAUTH_NAME', '');

/**
 *  Optional HTTP authorization password
 */
define('REBLOG_HTTPAUTH_PASS', '');

/*
 *  Author Name for output
 */
define('REBLOG_AUTHOR_NAME', "");

/**
 *  Channel title for the generated RSS/Atom feeds.
 */
define('REBLOG_FEED_TITLE', 'My reFeed feed');

/**
 *  Channel description for the generated RSS/Atom feeds.
 */
define('REBLOG_FEED_DESCRIPTION', 'My favorite posts from my favorite feeds');

/**
 * Open new windows when clicking links in the Item View page? 1 yes, 0 no.
 */
define('REBLOG_LINK_NEW_WINDOWS', 1);

/**
 * How many posts to show by default in paged mode
 */
define('REBLOG_HOWMANY', 50);

/*---------------- The rest you should not need to change ----------------*/

/**
 * How long to keep posts.
 *
 * If defined, posts will be deleted if they are more than this number of days old.
 * If left blank, they stay forever.
 *
 * @see REBLOG_KEEP_UNREAD
 */
define('REBLOG_KEEP_DAYS', 30);

/**
 * Whether to keep old unread posts.
 *
 * If defined and false, old posts will be deleted even if they have not been read.
 * @see REBLOG_KEEP_DAYS
 */
define('REBLOG_KEEP_UNREAD', true);

/**
 * Whether this install can edit feeds/subscriptions
 *
 * If defined and false, there wont be links/buttons to add/publish/unsubscribe/tag feeds
 */
define('REBLOG_ADMIN_FEEDS', true);

/**
 * Whether this install can update feeds
 *
 * If defined and false, there wont be links/buttons to update feeds
 */
define('REBLOG_UPDATE_FEEDS', true);

/**
 * Whether this install can post new items.
 *
 * If defined and true, they can, otherwise the "Post New" link on top and
 * "My Feed" feed link will not be visible.
 */
define('REBLOG_POST_NEW', true);


/**
 * How long to trust your feed caches for, in seconds.
 */
define('REBLOG_FEED_CACHE_AGE', 60 * 15);

/**
 * Default RSS to use if not specified
 */
define('REBLOG_FEED_VERSION', 'rss2.0');

/**
 * Magpie should change everything to UTF-8, for foreign-character happiness
 */
define('MAGPIE_OUTPUT_ENCODING', 'UTF-8');

/**
 * Our own User Agent when communicating with feed servers.
 */
define('REBLOG_HTTP_USER_AGENT', 'Reblog 2.0 (+http://www.reblog.org)');

/**
 * How many seconds do session cookies last? (as long as Google's)
 */
define('REBLOG_SESSION_LIFETIME', 60 * 60 * 24 * 365 * 30);

/**
 * This is where we keep our cached data
 */
define('REBLOG_CACHE_DIR', dirname(__FILE__).DIRECTORY_SEPARATOR.'cache');

/**
 * Database debugging level.  Leave at 0 unless you know what you're doing.
 */
define('REF_DB_DEBUG_LEVEL', 0);

/**
 * Default feed of fascinating Reblog news subscribed on installation.
 */
define('REBLOG_DEFAULT_FEED', "http://sourceforge.net/export/rss2_projnews.php?group_id=105823&rss_fullte xt=1");

/**
 *  Root of your reFeed install.  This should be determined automatically by reFeed, but if you are having
 *  problems you can uncomment this and set the appropriate value (no trailing slash please).
 */

//define('REBLOG_REFEED_ROOT_PATH', "http://my.host.com/path/to/refeed");


?>

Rehize el archivo config.php con los datos "db_reblog", pero me sale el siguiente error:

Warning: ini_set() has been disabled for security reasons in /home/webcindario/r/e/reblog/includes.php on line 30Warning: ini_set() has been disabled for security reasons in /home/webcindario/r/e/reblog/PEAR.php on line 62Warning: session_start(): open(/home/webcindario/r/e/reblog/cache/sess_5f6fe4a5c34982009ad4a9418516ae 2f, O_RDWR) failed: No such file or directory (2) in /home/webcindario/r/e/reblog/init.php on line 41Warning: putenv(): Safe Mode warning: Cannot set environment variable 'TZ' - it's not in the allowed list in /home/webcindario/r/e/reblog/Utility.functions.php on line 143

DB Error: not found.

Unable to include the DB/mysql.php file for 'mysql://db_reblog:[email protected]/db_reblog'Warning: Unknown: open(/home/webcindario/r/e/reblog/cache/sess_5f6fe4a5c34982009ad4a9418516ae 2f, O_RDWR) failed: No such file or directory (2) in Unknown on line 0Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/home/webcindario/r/e/reblog/cache) in Unknown on line 0

Avatar Image
@man / @woman
@man / @woman
Escrito originalmente por soltuyo
....

mi base de datos es reblog

usuario reblog

....

<?php
$mysql_srv= 'mysql.webcindario.com';
$mysql_db= 'db_reblog'; // nombre de la base de datos
$mysql_user= 'db_reblog'; // nombre de usuario
$mysql_psw= 'db_reblog'; // password de la base de datos

El archivo config.php ....

<?php
 
/**
 *  Database connection, like "mysql://username:reblog/reblog"
 */
define('REBLOG_DSN', "mysql://reblog:[email protected]/reblog");

1) debería ser así:

$mysql_srv= 'mysql.webcindario.com'; (ok)

$mysql_db= 'reblog'; // nombre de la base de datos

$mysql_user= 'reblog'; // nombre de usuario

$mysql_psw= 'db_reblog'; // password de la base de datos (cambia esto, no debes publicarla)

------

A esta línea no se como tratarla (¿ conexión a la base de datos a través de DSN?):

define('REBLOG_DSN', "mysql://reblog:[email protected]/reblog");

ATENCIÓN: Este tema no tiene actividad desde hace más de 6 MESES,
te recomendamos abrir un nuevo tema en lugar de responder al actual
Opciones:
Ir al subforo:
Permisos:
TU NO PUEDES Escribir nuevos temas
TU NO PUEDES Responder a los temas
TU NO PUEDES Editar tus propios mensajes
TU NO PUEDES Borrar tus propios mensajes
Temas similares
TemaUsuariosRespuestasVisitasActividad
Por: , el 29/Jul/2012, 20:26
juliangorge NoSetup.org13kJul/12
Por: , el 03/Ago/2009, 14:10
skamter aerialss8812kAug/09
Por: , el 01/Mar/2008, 03:20
mrusso1977 NoSetup.org43kMar/08
Por: , el 27/Feb/2008, 03:39
Fong69 Torry_II22kFeb/08
Por: , el 07/Nov/2004, 11:51
semprekompos Sworch18kJan/05