Hello group,
I'm going to use an organization server (Unix HP-UX) to install Wordpress. I dont have root access but I'm giving an account where in my account I can run a website or bunch of web pages. Currently it is only html base.
First I asked permission for PHP so I was told for every single PHP file I must use this line:
#!/usr/bin/php
1) Is this a good way to get access to PHP?!
Second, I asked for MySQL since required for WordPress. In response I am giving some instruction to run as following:
$ /usr/local/mysql/scripts/m
ysql_insta
ll_db -u MyUserName --datadir=/home/users3/eng
/eda/datab
ase --basedir=/usr/local/mysql
--port=19000
PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !
To do so, start the server, then issue the following commands:
/usr/local/mysql/bin/mysql
admin -u root password 'new-password'
/usr/local/mysql/bin/mysql
admin -u root -h towhee password 'new-password'
See the manual for more instructions.
NOTE: If you are upgrading from a MySQL <= 3.22.10 you should run
the /usr/local/mysql/bin/mysql
_fix_privi
lege_table
s. Otherwise you will not be
able to use the new GRANT command!
You can start the MySQL daemon with:
cd . ; /usr/local/mysql/bin/mysql
d_safe &
You can test the MySQL daemon with the benchmarks in the 'sql-bench' directory:
cd sql-bench ; perl run-all-tests
Please report any problems with the ./bin/mysqlbug script!
The latest information about MySQL is available on the web at
http://www.mysql.comSupport MySQL by buying support/licenses at
https://order.mysql.com $ mysqld -u MyUserName--datadir=/home/
users3/eng
/eda/datab
ase --basedir=/usr/local/mysql
--socket=/tmp/edaasic_mysq
l.socket --port=19000
091021 22:23:42 Can't start server: Bind on TCP/IP port: Address already in use
091021 22:23:42 Do you already have another mysqld server running on port: 19000 ?
091021 22:23:42 Aborting
091021 22:23:42 mysqld: Shutdown Complete
on the web at
http://www.mysql.comSupport MySQL by buying support/licenses at
https://order.mysql.com$ mysql -u root --socket=/tmp/MyUserName_m
ysql.sock --port=19000 -p
This very last command allows me to get to mysql line. Is this a good and robust way to access to php and mysql?
2) how can I setup my wordpress and webpages with these settings? please advise me.
regards,
ak