Version: 0.1 (using KDE KDE 3.3.2) Installed from: Debian testing/unstable Packages Compiler: 3.3.5 Reading specs from /usr/lib/gcc-lib/i486-linux/3.3.5/specs Configured with: ../src/configure -v --enable-languages=c,c++,java,f77,pascal,objc,ada,treelang --prefix=/usr--mandir=/usr/share/man --infodir=/usr/share/info --with-gxx-include-dir=/usr/include/c++/3.3 --enable-shared--enable-__cxa_atexit --with-system-zlib --enable-nls --without-included-gettext --enable-clocale=gnu --enable-debug --enable-java-gc=boehm --enable-java-awt=xlib --enable-objc-gc i486-linux Thread model: posix gcc version 3.3.5 (Debian 1:3.3.5-12) OS: Linux gui window with error message: Could not connect to "root@localhost" database server. both when I run: kexi -dbdriver mysql -user root -createdb mydb and when invoked from gui, it says: Could not connect to "localhost" database server. CLI stderr: kexi: ARGC==1 kexi: ARG0= mydb kexi: Manager::lookup(): kexi/table kexi: Manager::lookup(): kexi/form kexi: Manager::lookup(): kexi/report kexi: Manager::lookup(): kexi/query kexi: Manager::lookup(): kexi/relation kexi: Manager::lookup(): kexi: Manager::lookup(): inserting info to kexi/table kexi: Manager::lookup(): inserting info to kexi/query kexi: Manager::lookup(): inserting info to kexi/form kexi: Manager::lookup(): inserting info to kexi/relation KexiDB (driver impl): MySqlDriver::MySqlDriver() KexiDB (driver impl): MySqlConnectionInternal::connect() KexiDB (driver impl): MySqlConnection::disconnect() KexiDB: Object ERROR: 1045: KexiDB: Object ERROR: 0: and it hangs until I ok the error, then prints: kexi: KexiProject::createConnection(): error connecting: and returns a prompt. When using the postgres, (of which I am unsure about my configurations privileges), the gui error reads: Could not create project "mydb" Error during starting temporary connection using "template1" database name. Server result number: 0
Are you using local MySQL socket or a port for your local connection? If you're using a port, try to add --port <number> option. Anyway, try to play with connection shortcut file, where you can set all the options permamently: http://www.kexi-project.org/wiki/wikiview/index.php?Startup%20Options#Using_.KEXIS_shortcut_files
BTW, is this an application crash or connection problem?
what kexi --version returns?
I tried the connection dialog and the command line --port 3306. Both led to application crashes. I'm using version 0.10 as mentioned in last night's bug report. -- Hugh
Please download and try most recent Kexi version: http://www.kexi-project.org/wiki/wikiview/index.php?Download Too many things have been changed since 0.1 series.
Perhaps, but that was what Debian / testing gave me to work with. -- Hugh
Without a backtrace I cannot say too much, so if all new kexi versions crases for you may need a version with debug info, i.e. compiled by hand, what's not actually hard especially if you're planning to test/use Kexi also in the future.
Hi, Is this bug still present with the current version in unstable (0.9)? Note that: > kexi -dbdriver mysql -user root -createdb mydb should probably be > kexi --dbdriver mysql --user root --createdb mydb Also, if you still get this error: > and when invoked from gui, it says: > Could not connect to "localhost" database server. it may be because localhost is not the first name after 127.0.0.1 in your /etc/hosts file.
Cuuld not reproduce on recent version (SVN trunk).
I confirm similar bug : when connecting to existing MtSQL database with valid root username and password the app freezes ; same when testing connection to data base though the window says that connection was succesfull Regards