Fatal error

2002-12-29 Thread Pikasz Gyorgy
Hi all!!!
Red Hat 7.3, MySQL, PHP
I tried to connect to MySQL server with my login name and password, with the
next command in my php's file:
  mysql_connect("localhost", "webuser", "webpass")
In the mysql.user table exist webuser/webpass and in mysql.db table too for
an specified database.
...then appear the next error and I don't understand why:

Fatal error: Call to undefined function: mysql_connect() in
/var/www/html/vk/vk.php on line 11

Thanks

picas





-
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/   (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php




Connecting to mysql

2002-12-01 Thread Pikasz Gyorgy
I'm logged in to RedHat Linux as an user and I'd like to connect to mysql
with "mysql -uroot -p" (and then must type the passw), but I could'nt in
this way, only whit this: "mysql -uroot", without passw. Why?

picas



-
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/   (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php