• Jetzt anmelden. Es dauert nur 2 Minuten und ist kostenlos!

ERROR 1045 (28000) Access denied for user 'ODBC'@'localhost'

Status
Für weitere Antworten geschlossen.

Surviver

Neues Mitglied
Hallo ...

ich habe mir xampp heruntergeladen, weil ich eine Forensoftware testen wollte.

Jtzt bekomme ich beim Starten von mysql über cmd folgende Meldung (Win MYSQL ADmin 1.4):

Code:
ERROR 1045 (28000) Access denied for user 'ODBC'@'localhost' <Using password: NO>

Was ist das und was kann ich dagegen tun ?


Vielen Dank im Vorraus !


mfg Surviver
 
Werbung:
stimmen die in der config-datei angegebenen daten mit denen von xampp überein? wenn nicht, versuch' mal als user "root" und als passwort nicht, dann sollte es gehen.

Nils aka XraYSoLo
 
Hallo, welche Configdatei und wo finde ich diese ?

Meine Konfugdateimy.ini sieht so aus:

Code:
#This File was made using the WinMySQLAdmin 1.4 Tool
#12.03.2006 15:19:53

#Uncomment or Add only the keys that you know how works.
#Read the MySQL Manual for instructions

[mysqld]
basedir=C:/Programme/xampp/mysql
#bind-address=192.168.2.100
datadir=C:/Programme/xampp/mysql/data
#language=C:/Programme/xampp/mysql/share/your language directory
#slow query log#=
#tmpdir#=
#port=3306
#set-variable=key_buffer=16M
[WinMySQLadmin]
Server=C:/Programme/xampp/mysql/bin/mysqld-nt.exe
user=root
password=
QueryInterval=10


mfg Surviver

//EDIT

mir ist gerade nochwas aufgefallen: (da steht Not Found), hier ein Screenie

17ip.jpg
 
Werbung:
w7 schrieb:
@surviver: du hast Windows Whistler?

Nein, ich benutze Windows XP Pro + SP2.

//Meine Forums-Config: (Nur die wichtigen Variablen)

Code:
	//	****** DATABASE TYPE ******
	//	This is the type of the database server on which your vBulletin database will be located.
	//	Valid options are mysql and mysqli.  Try to use mysqli if you are using PHP 5 and MySQL 4.1+
$config['Database']['dbtype'] = 'mysql';

	//	****** DATABASE NAME ******
	//	This is the name of the database where your vBulletin will be located.
	//	This must be created by your webhost.
$config['Database']['dbname'] = '?????';

	//	****** TABLE PREFIX ******
	//	Prefix that your vBulletin tables have in the database.
$config['Database']['tableprefix'] = 'vb';

	//	****** FORCE EMPTY SQL MODE ******
	// New versions of MySQL (4.1+) have introduced some behaviors that are
	// incompatible with vBulletin. Setting this value to "true" disables those
	// behaviors. You only need to modify this value if vBulletin recommends it.
$config['Database']['force_sql_mode'] = false;



	//	****** MASTER DATABASE SERVER NAME AND PORT ******
	//	This is the hostname or IP address and port of the database server.
	//	If you are unsure of what to put here, leave the default values.
$config['MasterServer']['servername'] = 'localhost';
$config['MasterServer']['port'] = 3306;

	//	****** MASTER DATABASE USERNAME & PASSWORD ******
	//	This is the username and password you use to access MySQL.
	//	These must be obtained through your webhost.
$config['MasterServer']['username'] = 'root';
$config['MasterServer']['password'] = '';

	//	****** MASTER DATABASE PERSISTENT CONNECTIONS ******
	//	This option allows you to turn persistent connections to MySQL on or off.
	//	The difference in performance is negligible for all but the largest boards.
	//	If you are unsure what this should be, leave it off. (0 = off; 1 = on)
$config['MasterServer']['usepconnect'] = 0;



	//	****** SLAVE DATABASE CONFIGURATION ******
	//	If you have multiple database backends, this is the information for your slave
	//	server. If you are not 100% sure you need to fill in this information,
	//	do not change any of the values here.
$config['SlaveServer']['servername'] = '';
$config['SlaveServer']['port'] = 3306;
$config['SlaveServer']['username'] = '';
$config['SlaveServer']['password'] = '';
$config['SlaveServer']['usepconnect'] = 0;


	// ****** DATASTORE CACHE CONFIGURATION *****
	// Here you can configure different methods for caching datastore items.
	// vB_Datastore_Filecache  - for using a cache file
// $config['Datastore']['class'] = 'vB_Datastore_Filecache';  
	// vB_Datastore_Memcached - for using a Memcache server
	// It is also necessary to specify the hostname or IP address and the port the server is listening on
// $config['Datastore']['class'] = 'vB_Datastore_Memcached';
// $config['Misc']['memcacheserver'] = '127.0.0.1'; 
// $config['Misc']['memcacheport'] = '11211';

// ****** The following options are only needed in special cases ******

	//	****** MySQLI OPTIONS *****
	// When using MySQL 4.1+, MySQLi should be used to connect to the database.
	// If you need to set the default connection charset because your database
	// is using a charset other than latin1, you can set the charset here.
	// If you don't set the charset to be the same as your database, you
	// may receive collation errors.  Ignore this setting unless you are sure
	// you need to use it.
// $config['Mysqli']['charset'] = 'utf8';

	//	Optionally, PHP can be instructed to set connection parameters by reading from the
	//	file named in 'ini_file'. Please use a full path to the file.
	//	Example:
	//	$config['Mysqli']['ini_file'] = 'c:\program files\MySQL\MySQL Server 4.1\my.ini';
$config['Mysqli']['ini_file'] = '';

PS: Ich habe mich vielleicht dumm azsgedrückt, ich möchte ein Board auf meinem Home-Rechner zu Testzwekcne laufen lassn ;)
 
Werbung:
@w7 fast alle desktop rechner laufen unter Windoes whistler. die meisten kennen es aber nur unter "Windows XP" ...

@OP du musst bei
$config['MasterServer']['password'] = '';
halt das passwort für den benutzer Root bei MySQL angeben .

wo das OBDC [die datenbankschnittstelle von M$ wenn mich net alles täuscht] herkommt weiss ich aber auch net? irgendwo in der restlichen config stehts vielleicht?
 
Status
Für weitere Antworten geschlossen.
Zurück
Oben