Question regarding database creation in Ubuntu

Support and queries relating to all previous versions of ZoneMinder
Locked
scorptig
Posts: 15
Joined: Sat Apr 28, 2007 9:26 pm
Location: Gatineau

Question regarding database creation in Ubuntu

Post by scorptig »

webcam@videotron:~$ sudo -s
Password:
root@videotron:~# mysqladmin -u webcam -p create zmdbase
Enter password:
mysqladmin: connect to server at 'localhost' failed
error: 'Access denied for user 'webcam'@'localhost' (using password: YES)'

So I have followed all the steps, and here I stalled, it keeps asking me for a password, whether I use user or root password, I get the same error.

So where am I going wrong, thank you in advance, stuck at this point.
:arrow:
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post by cordel »

Where did you find these directions?
scorptig
Posts: 15
Joined: Sat Apr 28, 2007 9:26 pm
Location: Gatineau

MySql instructions

Post by scorptig »

cordel wrote:Where did you find these directions?
Backports used in Ubuntu Dapper install of ZM

http://www.zoneminder.com/forums/viewto ... bd926d1e56

Note I went to mysql help,
and I created usr, password then grant, now I am at stage after reboot
to actually start it,
scorptig
Posts: 15
Joined: Sat Apr 28, 2007 9:26 pm
Location: Gatineau

Browser Zoneminder zm.php

Post by scorptig »

If you are running a distribution which doesn’t support the zm script, or if you just prefer more direct control, you can now start ZoneMinder by typing

zmpkg.pl start

which, after a few seconds, should return without error. You can subsequently stop and restart everything by changing the ‘start’ parameter to ‘stop’ or ‘restart’.

Now fire up your web browser, point it at your zm.php and off you go.
Question Web browser Point at zm.php Not sure, does not work, anything here I should know or I've missed ?
scorptig
Posts: 15
Joined: Sat Apr 28, 2007 9:26 pm
Location: Gatineau

running it seems, hardware recognition, steps ?

Post by scorptig »

http://localhost/zm/

This seems to work, problem now is my database is not recognized, at least I am running
Wed 20th Jun, 9:00pm ZoneMinder Console - Running - v1.22.3 Load: 0.53 / Disk: 1%
0 Monitors
Configured for low bandwidth
Options
Id Name Function Source Events Hour Day Week Month Archive Zones Order Mark

0 0 0 0 0 0 0

Still have some steps to do...
scorptig
Posts: 15
Joined: Sat Apr 28, 2007 9:26 pm
Location: Gatineau

Set Up on Ubuntu Feisty

Post by scorptig »

Well by reading the proper steps I created database, set password, have Zoneminder loading on boot, simply cannot detect /dev/video0
I have xawtv and all usefull video4linux tools there, simply see icon in area
so what would be a step to detect devices, in my case 7 cameras.
I am reading through your setup, forum and wiki.
Thanks in advance,
Locked